Remove semicolon in time driver example struct declaration

The semicolon is not allowed with struct declarations with braces.
The doc test compiles fine for some reason!?
This commit is contained in:
Rasmus Pedersen 2023-07-05 14:07:05 +02:00
parent 3341b53eb4
commit a0dc87d64e

View File

@ -36,7 +36,7 @@
//! ```
//! use embassy_time::driver::{Driver, AlarmHandle};
//!
//! struct MyDriver{}; // not public!
//! struct MyDriver{} // not public!
//! embassy_time::time_driver_impl!(static DRIVER: MyDriver = MyDriver{});
//!
//! impl Driver for MyDriver {