commit | c4744ab7c4f191d6fc2f7502f7ee86bed57dc169 | [log] [tgz] |
---|---|---|
author | Daniel Verkamp <[email protected]> | Fri Apr 08 21:22:50 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Fri Apr 08 21:22:50 2022 +0000 |
tree | 4533b7472f0475d2ba0bb28d9e366d7cfb03b8ef | |
parent | 845b5c00f660ec6fbf1353a662d56ec785879ab7 [diff] | |
parent | 0a1a6fd4ae779b963dc143356407b1b2fbb6c108 [diff] |
rust: remove redundant format in unreachable am: ff062d54f9 am: 7d8dde4b8f am: 2d4d0158ac am: 0a1a6fd4ae Original change: https://android-review.googlesource.com/c/platform/external/minijail/+/2058807 Change-Id: I7beae46fe3c8eef08ed1547c8bc17cfeb60578ac 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 {