Fix clippy warning

This commit is contained in:
Tiffany Bennett 2022-04-15 21:51:56 -07:00
parent 1612065466
commit aedcb26f40

View file

@ -182,7 +182,6 @@ impl Context {
/// Takes a parsed definitions.units from
/// `gnu_units::parse()`. Returns a list of errors, if there were any.
#[must_use]
pub fn load(&mut self, defs: crate::ast::Defs) -> Result<(), String> {
let errors = crate::loader::load_defs(self, defs);