Commit 0bdcb40 1 parent 0f6de5a commit 0bdcb40 Copy full SHA for 0bdcb40
File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ use rand::{
16
16
rngs:: { self } ,
17
17
Rng , SeedableRng ,
18
18
} ;
19
- use std:: { borrow :: Cow , cell:: RefCell } ;
19
+ use std:: cell:: RefCell ;
20
20
21
21
mod throughput;
22
22
@@ -29,7 +29,7 @@ lazy_static! {
29
29
"value10"
30
30
] ;
31
31
static ref COUNTER : Counter <u64 > = PROVIDER
32
- . meter( < & str as Into < Cow < ' static , str >>> :: into ( "test" ) )
32
+ . meter( "test" )
33
33
. u64_counter( "hello" )
34
34
. init( ) ;
35
35
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ use rand::{
16
16
rngs:: { self } ,
17
17
Rng , SeedableRng ,
18
18
} ;
19
- use std:: { borrow :: Cow , cell:: RefCell } ;
19
+ use std:: cell:: RefCell ;
20
20
21
21
mod throughput;
22
22
@@ -29,7 +29,7 @@ lazy_static! {
29
29
"value10"
30
30
] ;
31
31
static ref HISTOGRAM : Histogram <u64 > = PROVIDER
32
- . meter( < & str as Into < Cow < ' static , str >>> :: into ( "test" ) )
32
+ . meter( "test" )
33
33
. u64_histogram( "hello" )
34
34
. init( ) ;
35
35
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ use rand::{
16
16
rngs:: { self } ,
17
17
Rng , SeedableRng ,
18
18
} ;
19
- use std:: { borrow :: Cow , cell:: RefCell } ;
19
+ use std:: cell:: RefCell ;
20
20
21
21
mod throughput;
22
22
@@ -25,7 +25,7 @@ lazy_static! {
25
25
. with_reader( ManualReader :: builder( ) . build( ) )
26
26
. build( ) ;
27
27
static ref COUNTER : Counter <u64 > = PROVIDER
28
- . meter( < & str as Into < Cow < ' static , str >>> :: into ( "test" ) )
28
+ . meter( "test" )
29
29
. u64_counter( "hello" )
30
30
. init( ) ;
31
31
}
You can’t perform that action at this time.
0 commit comments