Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 21a19c2 + 74c3727 commit 40c96e5Copy full SHA for 40c96e5
library/coretests/tests/tuple.rs
@@ -37,7 +37,7 @@ fn test_partial_ord() {
37
assert!(!((1.0f64, 2.0f64) <= (f64::NAN, 3.0)));
38
assert!(!((1.0f64, 2.0f64) > (f64::NAN, 3.0)));
39
assert!(!((1.0f64, 2.0f64) >= (f64::NAN, 3.0)));
40
- assert!(((1.0f64, 2.0f64) < (2.0, f64::NAN)));
+ assert!((1.0f64, 2.0f64) < (2.0, f64::NAN));
41
assert!(!((2.0f64, 2.0f64) < (2.0, f64::NAN)));
42
}
43
library/std/tests/env.rs
@@ -16,7 +16,7 @@ fn test_self_exe_path() {
16
17
#[test]
18
fn test() {
19
- assert!((!Path::new("test-path").is_absolute()));
+ assert!(!Path::new("test-path").is_absolute());
20
21
#[cfg(not(target_env = "sgx"))]
22
current_dir().unwrap();
0 commit comments