apply clippy, add comments

This commit is contained in:
postscriptum 2025-07-01 22:52:06 +03:00
parent 5f667f9e3d
commit 2e93fd24e7

View file

@ -44,6 +44,10 @@ impl Nex {
})
}
// @TODO: This function requires the following improvements:
// * validate attachments before updating
// * apply the post time to the files
/// Update destination with given data (typically received from Snac)
pub fn sync(
&self,
name: &str,
@ -136,7 +140,7 @@ impl Nex {
// write the data
p.push(
published
.format(&self.filename.trim_matches(std::path::MAIN_SEPARATOR))
.format(self.filename.trim_matches(std::path::MAIN_SEPARATOR))
.to_string(),
);