mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-06-06 05:49:01 +08:00
Fix cargo doc warning
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user