Skip to content

Commit 7b77a09

Browse files
committed
Fix cargo clippy warnings.
1 parent f52c390 commit 7b77a09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

interface/src/storage.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,12 @@ pub fn get_codecs(
118118
continue;
119119
}
120120

121-
let codec_str = fs::read_to_string(&codecs_path.join(&codec_filename)).unwrap_or_default();
121+
let codec_str = fs::read_to_string(codecs_path.join(&codec_filename)).unwrap_or_default();
122122
let codec_dec_test_str =
123-
fs::read_to_string(&codecs_path.join(format!("test_decode_{}on", codec_filename)))
123+
fs::read_to_string(codecs_path.join(format!("test_decode_{}on", codec_filename)))
124124
.unwrap_or("[]".to_string());
125125
let codec_enc_test_str =
126-
fs::read_to_string(&codecs_path.join(format!("test_encode_{}on", codec_filename)))
126+
fs::read_to_string(codecs_path.join(format!("test_encode_{}on", codec_filename)))
127127
.unwrap_or("[]".to_string());
128128

129129
out.insert(

0 commit comments

Comments
 (0)