File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " lazy-static-include"
3- version = " 3.1.2 "
3+ version = " 3.1.3 "
44authors = [" Magic Len <len@magiclen.org>" ]
55edition = " 2021"
66repository = " https://github.com/magiclen/lazy-static-include"
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ fn include_array_no_static(bencher: &mut Bencher) {
8282 let path = concat ! ( benchmark_text_path!( ) ) ;
8383
8484 bencher. iter ( || {
85- let mut f = File :: open ( & path) . unwrap ( ) ;
85+ let mut f = File :: open ( path) . unwrap ( ) ;
8686
8787 let mut v = Vec :: new ( ) ;
8888
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ fn include_str() {
1010 pub TEST2 => "data/test-2.txt" ,
1111 }
1212
13- let _data: & ' static str = * TEST ;
13+ let _data: & ' static str = & TEST ;
1414
1515 assert_eq ! ( "This is just a test text." , TEST ) ;
1616 assert_eq ! ( "Some text..." , TEST2 ) ;
@@ -23,7 +23,7 @@ fn include_bytes() {
2323 pub TEST2 => "data/test-2.txt" ,
2424 }
2525
26- let _data: & ' static [ u8 ] = * TEST ;
26+ let _data: & ' static [ u8 ] = & TEST ;
2727
2828 assert_eq ! ( "This is just a test text." . as_bytes( ) , TEST ) ;
2929 assert_eq ! ( "Some text..." . as_bytes( ) , TEST2 ) ;
You can’t perform that action at this time.
0 commit comments