sapling/eden/mononoke/mercurial
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
..
bundle_replay_data autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
bundles third-party/rust: update futures 2021-03-04 06:42:55 -08:00
mutation blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
revlog mononoke: start moving streaming changelog logic to rust 2021-03-12 14:46:30 -08:00
types rust: fix non-literal panic fmt strings 2021-04-09 16:24:33 -07:00