sapling/eden/mononoke/revset
Jeremy Fitzhardinge b496783adb rust: fix non-literal panic fmt strings
Summary:
`panic!()`, and things which use `panic!()` like `assert!()`, take a literal format
string, and whatever parameters to format. There's no need to use `format!()`
with it, and it is incorrect to pass a non-literal string.

Mostly it's harmless, but there are some genuinely confusing asserts which
trigger this warning.

Reviewed By: dtolnay

Differential Revision: D27672891

fbshipit-source-id: 73929cc77c4b3d354bd315d8d4b91ed093d2946b
2021-04-09 16:24:33 -07:00
..
revset-test-helper mononoke: remove all trivial usage of async-unit 2021-04-07 07:26:57 -07:00
src rust: fix non-literal panic fmt strings 2021-04-09 16:24:33 -07:00
Cargo.toml mononoke: remove remaining usage of async-unit 2021-04-07 07:26:57 -07:00