Sign in
android
/
platform
/
external
/
rust
/
android-crates-io
/
cdc58754e7e0e6a8c65914e5357419ce993347ac
/
.
/
crates
/
anyhow
/
tests
/
ui
/
chained-comparison.rs
blob: 4521b51c8ca216e795cbe0292bd9ae684ff813c8 [
file
] [
log
] [
blame
]
use
anyhow
::{
ensure
,
Result
};
fn
main
()
->
Result
<()>
{
// `ensure!` must not partition this into `(false) == (false == true)`
// because Rust doesn't ordinarily allow this form of expression.
ensure
!(
false
==
false
==
true
);
Ok
(())
}