melib/mbox: replace unimplemented!() with Error

memfd
Manos Pitsidianakis 2020-01-30 04:22:25 +02:00
parent 51d9405c72
commit cd1ed5ef40
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 1 additions and 1 deletions

View File

@ -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 {