Fix cargo doc warning

This commit is contained in:
2023-03-26 02:17:12 +00:00
committed by GitHub
parent 12bf78327a
commit c458cf693e
2 changed files with 2 additions and 2 deletions

View File

@@ -472,7 +472,7 @@ impl ExifValue {
}
/// Check the ok status indicator.
/// After a to<Type> conversion, this indicator shows whether the conversion was successful.
/// After a `to<Type>` conversion, this indicator shows whether the conversion was successful.
pub fn ok(&self) -> bool {
if self.value.is_null() {
return false;

View File

@@ -178,7 +178,7 @@ impl WebClient {
///
/// returns true if readed successfully.
/// # Note
/// If read failed, will clean all entries in the current [CookieJar]
/// If read failed, will clean all entries in the current [ManagedCookieJar]
pub fn read_cookies(&self, file_name: &str) -> bool {
let mut c = self.get_cookies_as_mut();
let r = c.read(file_name);