Mercurial > public > mercurial-scm > hg
diff rust/hg-core/src/revlog/node.rs @ 46619:f2fc34e88238
copies-rust: remove an unnecessary format!() inside assert!()
The `assert!()` macro supports formatting. Rust 2021 no longer
supports an unnecessary `format!()` inside it. I noticed because I
recently update my Rust toolchain and `test-check-cargo-lock.t`
started failing.
Differential Revision: https://phab.mercurial-scm.org/D10085
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 01 Mar 2021 14:44:29 -0800 |
parents | 98a455a62699 |
children | b1f2c2b336ec |