Browse Source

melib/mbox: replace unimplemented!() with Error

async
Manos Pitsidianakis 2 years ago
parent
commit
cd1ed5ef40
Signed by: epilys GPG Key ID: 73627C2F690DF710
  1. 2
      melib/src/backends/mbox.rs

2
melib/src/backends/mbox.rs

@ -615,7 +615,7 @@ impl MailBackend for MboxType {
}
fn save(&self, _bytes: &[u8], _folder: &str, _flags: Option<Flag>) -> Result<()> {
unimplemented!();
Err(MeliError::new("Unimplemented."))
}
fn as_any(&self) -> &dyn::std::any::Any {

Loading…
Cancel
Save