commit | e92509cceadc87dee6725b363eb72bf7431ed5da | [log] [tgz] |
---|---|---|
author | Daniel Verkamp <[email protected]> | Fri Apr 08 21:44:14 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Fri Apr 08 21:44:14 2022 +0000 |
tree | 4533b7472f0475d2ba0bb28d9e366d7cfb03b8ef | |
parent | 845b5c00f660ec6fbf1353a662d56ec785879ab7 [diff] | |
parent | c4744ab7c4f191d6fc2f7502f7ee86bed57dc169 [diff] |
rust: remove redundant format in unreachable am: ff062d54f9 am: 7d8dde4b8f am: 2d4d0158ac am: 0a1a6fd4ae am: c4744ab7c4 Original change: https://android-review.googlesource.com/c/platform/external/minijail/+/2058807 Change-Id: I189c1f1a48ba08d9d17129215cfd59f398ec89f2 Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/rust/minijail/src/lib.rs b/rust/minijail/src/lib.rs index cfba237..5028041 100644 --- a/rust/minijail/src/lib.rs +++ b/rust/minijail/src/lib.rs
@@ -401,7 +401,7 @@ if ret > 0 && ret <= 0xff { return Err(Error::ReturnCode(ret as u8)); } - unreachable!(format!("Unexpected returned value from wait: {}", ret)); + unreachable!("Unexpected returned value from wait: {}", ret); } impl Minijail {