mirror of https://github.com/fralalonde/dipstick
Tagalong: Fixed warnings in examples
This commit is contained in:
parent
a29991a938
commit
ed90c33f4a
|
@ -45,6 +45,6 @@ fn main() {
|
|||
|
||||
// using a "time handle"
|
||||
let start_time = timer.start();
|
||||
Duration::from_millis(5);
|
||||
sleep(Duration::from_millis(5));
|
||||
timer.stop(start_time);
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//! Use the metrics backend directly to log a metric value.
|
||||
//! Applications should use the metrics()-provided instruments instead.
|
||||
|
||||
use dipstick::{labels, Input, InputScope, Labels};
|
||||
use dipstick::{labels, Input, InputScope};
|
||||
|
||||
fn main() {
|
||||
raw_write()
|
||||
|
|
Loading…
Reference in New Issue