diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-11-10 01:47:12 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-12-22 02:03:35 +0100 |
commit | 0937e61e4418d2be239906447d07b63e0778ebc1 (patch) | |
tree | 4d6b2d15db69be55c4af68cf9574ea660bdd446f /tests | |
parent | 1f9d2debdd38b1a9a668c330193a74661a08b627 (diff) |
Remove let binding for unit value
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ui/src/imag_grep.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/src/imag_grep.rs b/tests/ui/src/imag_grep.rs index 9eac75a7..3b8c3a24 100644 --- a/tests/ui/src/imag_grep.rs +++ b/tests/ui/src/imag_grep.rs @@ -77,7 +77,7 @@ fn test_grepping_not_available_string() { .open(&filepath) .unwrap(); - let _ = writeln!(file, "unavailable").unwrap(); + writeln!(file, "unavailable").unwrap(); } let output = call(&imag_home, "something"); @@ -104,7 +104,7 @@ fn test_grepping_available_string() { .open(&filepath) .unwrap(); - let _ = writeln!(file, "{}", filetext).unwrap(); + writeln!(file, "{}", filetext).unwrap(); } let output = call(&imag_home, filetext); |