Skip to content

Commit

Permalink
Fix error message of abs filter (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
hnakamur authored Sep 16, 2023
1 parent ae9017e commit b9cc11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minijinja/src/filters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ mod builtins {
ValueRepr::F64(x) => Ok(Value::from(x.abs())),
_ => Err(Error::new(
ErrorKind::InvalidOperation,
"cannot round value",
"cannot get absolute value",
)),
}
}
Expand Down

0 comments on commit b9cc11a

Please sign in to comment.