Clippy work towards rust 1.38 (#6219)

This commit is contained in:
Michael Vines
2019-10-02 18:04:18 -07:00
committed by GitHub
parent c06876eb3d
commit 13fc518268
12 changed files with 75 additions and 78 deletions

View File

@ -121,7 +121,7 @@ pub fn get_libra_balance<T: Client>(
}
state => {
info!("Unknown account state: {:?}", state);
return Err(LibrapayError::UnknownAccountState)?;
return Err(LibrapayError::UnknownAccountState.into());
}
}
let resource = data_store