sapling/eden/scm/lib/manifest-tree
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
..
benches types: add helper method for generating repo paths in testutil 2020-01-10 11:12:41 -08:00
src rust: fix non-literal panic fmt strings 2021-04-09 16:24:33 -07:00
Cargo.toml eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00