Skip to content

Commit

Permalink
Bug 1701418 - Make panic call compatible with rustc 1.51.0. r=webdriv…
Browse files Browse the repository at this point in the history
…er-reviewers,jgraham

Differential Revision: https://phabricator.services.mozilla.com/D110029
  • Loading branch information
staktrace committed Mar 29, 2021
1 parent 027eaa6 commit ab87e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/mozbase/rust/mozprofile/src/prefreader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ impl<'a> PrefTokenizer<'a> {
let value = match buf.borrow() {
"true" => true,
"false" => false,
x => panic!(format!("Boolean wasn't 'true' or 'false' (was {})", x)),
x => panic!("Boolean wasn't 'true' or 'false' (was {})", x),
};
PrefToken::Bool(value, position)
}
Expand Down

0 comments on commit ab87e66

Please sign in to comment.