Skip to content

Commit 139ce16

Browse files
committed
lint
1 parent a46e292 commit 139ce16

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ pub struct Rockhopper {
142142

143143
#[test]
144144
fn test_rockhopper_codec() {
145-
let rockhopper : Rockhopper = Rockhopper::default();
146-
let rockhopper_toml : String = toml::to_string(&rockhopper).unwrap();
147-
let rockhopper2 : Rockhopper = toml::from_str(&rockhopper_toml).unwrap();
145+
let rockhopper: Rockhopper = Rockhopper::default();
146+
let rockhopper_toml: String = toml::to_string(&rockhopper).unwrap();
147+
let rockhopper2: Rockhopper = toml::from_str(&rockhopper_toml).unwrap();
148148
assert_eq!(rockhopper2, rockhopper);
149149
}
150150

@@ -242,7 +242,7 @@ impl Rockhopper {
242242
.parent()
243243
.ok_or(RockhopperError::IOError(format!(
244244
"unable to retrieve parent directory for path: {:?}",
245-
&source_media_k
245+
source_media_k
246246
)))?;
247247

248248
fs::create_dir_all(source_media_p)

0 commit comments

Comments
 (0)