File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -254,8 +254,8 @@ fn panic(_: &core::panic::PanicInfo) -> ! {
254254 let walker = GlobWalkerBuilder :: from_patterns (
255255 target_directory,
256256 & [
257- format ! ( "/**/lib{}.*" , library_name ) ,
258- format ! ( "/**/lib{}-*" , library_name ) ,
257+ format ! ( "/**/lib{library_name }.*" ) ,
258+ format ! ( "/**/lib{library_name }-*" ) ,
259259 ] ,
260260 )
261261 . build ( ) ?;
Original file line number Diff line number Diff line change @@ -970,7 +970,7 @@ checksum = "3df10e9ed85b51fa3434bc5676eaa90479ce14ac3e101c8ce07e1bb5ef0b7255"
970970
971971 // Assert
972972 let lock_file = skeleton. lock_file . expect ( "there should be a lock_file" ) ;
973- println ! ( "{}" , lock_file ) ;
973+ println ! ( "{lock_file}" ) ;
974974 assert ! ( lock_file. contains(
975975 r#"
976976[[package]]
@@ -1694,7 +1694,7 @@ uuid = { version = "=0.8.0", features = ["v4"] }
16941694 . unwrap ( )
16951695 . contents
16961696 . split ( '=' )
1697- . last ( )
1697+ . next_back ( )
16981698 . unwrap ( )
16991699 . replace ( [ '[' , ']' , '"' ] , "" )
17001700 . trim ( )
You can’t perform that action at this time.
0 commit comments