diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2025-08-10 21:59:04 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2025-08-10 21:59:04 +0000 |
| commit | 74c3727b1fbb274d5b5f841302310461ac54ca5e (patch) | |
| tree | 3f09f53bf4a7d369c7facbfcfd3a3105d3bf73bb /library/std/tests | |
| parent | 18eeac04fc5c2a4c4a8020dbdf1c652077ad0e4e (diff) | |
| download | rust-74c3727b1fbb274d5b5f841302310461ac54ca5e.tar.gz rust-74c3727b1fbb274d5b5f841302310461ac54ca5e.zip | |
Remove unnecessary parentheses in `assert!`s
Diffstat (limited to 'library/std/tests')
| -rw-r--r-- | library/std/tests/env.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/tests/env.rs b/library/std/tests/env.rs index e754cf8263b..b53fd69b707 100644 --- a/library/std/tests/env.rs +++ b/library/std/tests/env.rs @@ -16,7 +16,7 @@ fn test_self_exe_path() { #[test] fn test() { - assert!((!Path::new("test-path").is_absolute())); + assert!(!Path::new("test-path").is_absolute()); #[cfg(not(target_env = "sgx"))] current_dir().unwrap(); |
