Tagalong: Fixed warnings in examples

This commit is contained in:
RafalGoslawski 2022-12-15 17:20:46 +00:00
parent a29991a938
commit ed90c33f4a
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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()