docs(lib): update the function comment for store_remote_file

This commit is contained in:
Orhun Parmaksız 2021-11-07 00:01:30 +03:00
parent 7a6842e181
commit 3eee294bd9
No known key found for this signature in database
GPG key ID: F83424824B3E4B90

View file

@ -152,6 +152,8 @@ impl Paste {
/// - Same content length configuration is applied for download limit. /// - Same content length configuration is applied for download limit.
/// - Checks SHA256 digest of the downloaded file for preventing duplication. /// - Checks SHA256 digest of the downloaded file for preventing duplication.
/// - Assumes `self.data` contains a valid URL, otherwise returns an error. /// - Assumes `self.data` contains a valid URL, otherwise returns an error.
///
/// [`store_file`]: Self::store_file
pub async fn store_remote_file( pub async fn store_remote_file(
&mut self, &mut self,
expiry_date: Option<u128>, expiry_date: Option<u128>,