]> git.r.bdr.sh - rbdr/olden-mail/blobdiff - src/middleware/find_mailboxes_compatibility.rs
Bump version
[rbdr/olden-mail] / src / middleware / find_mailboxes_compatibility.rs
index f1a450b514e8b41856bbfc736a211153a22f6847..04bc8343a8fe301b5610b7cfe8607ace146a9aba 100644 (file)
@@ -1,6 +1,6 @@
 use log::debug;
 
-/// MailDrop can't find folders to sync because it sends FIND MAILBOXES /*
+/// `MailDrop` can't find folders to sync because it sends FIND MAILBOXES /*
 /// which is not understood by modern servers. It instead replaces it with
 /// a LIST command.
 pub fn middleware(input: &[u8]) -> Vec<u8> {
@@ -10,5 +10,5 @@ pub fn middleware(input: &[u8]) -> Vec<u8> {
         debug!("### {replacement}");
         return replacement.into_bytes();
     }
-    return input.to_vec();
+    input.to_vec()
 }