diff --git a/examples/context_switches.rs b/examples/context_switches.rs index b8add5c2..0deb3bd9 100644 --- a/examples/context_switches.rs +++ b/examples/context_switches.rs @@ -14,7 +14,7 @@ pub fn main() { pc.start().expect("Can not start the counter"); std::thread::sleep(std::time::Duration::new(1,0)); - pc.stop().expect("Can not stop the counter");; + pc.stop().expect("Can not stop the counter"); println!("Context Switches/s: {:?}", pc.read().expect("Can not read counter")); pc.reset().expect("Can not reset the counter");