Merge pull request #1621 from rasmuspeders1/main

Remove bad semicolon in time driver example struct declaration
This commit is contained in:
Dario Nieuwenhuis 2023-07-05 15:45:27 +02:00 committed by GitHub
commit 27992d9c07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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