File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,9 +142,9 @@ pub struct Rockhopper {
142142
143143#[ test]
144144fn 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)
You can’t perform that action at this time.
0 commit comments