Skip to content

Commit

Permalink
Reformat with latest rustfmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
rictic committed Mar 21, 2024
1 parent bebabbc commit d72ebcd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion fontra2fontir/src/toir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ pub(crate) fn to_ir_static_metadata(
let max = a.constraints.max();
let (min, max) = match (min, max) {
(Some(min), Some(max)) => (min, max),
_ => return Err(WorkError::InconsistentAxisDefinitions(format!("Could not determine a minx and max for {a:?}"))),
_ => {
return Err(WorkError::InconsistentAxisDefinitions(format!(
"Could not determine a minx and max for {a:?}"
)))
}
};
let min = UserCoord::new(min as f32);
let default = UserCoord::new(a.default_value as f32);
Expand Down

0 comments on commit d72ebcd

Please sign in to comment.