Mercurial > hg
diff hgeditor @ 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 | 1aee2ab0f902 |
children |