Signed-off-by: Axel Nennker <axel.nennker@telekom.de>
This commit is contained in:
Axel Nennker 2019-03-30 15:14:52 +01:00 committed by Emilio Cobos Álvarez
parent 7619be86bd
commit 1e5c636a52

View File

@ -251,7 +251,7 @@ impl Constant {
};
if !can_handle(&ty, expr) {
return Err("Unhanded const definition".to_owned());
return Err("Unhandled const definition".to_owned());
}
let mut lit = Literal::load(&expr)?;