Update docs

This commit is contained in:
Zenn 2023-08-14 20:37:57 +02:00
parent 0721c6cc45
commit 2111e26566

View file

@ -19,17 +19,16 @@ extern "C" {
/// ``` /// ```
/// static e: EEPROM = EEPROM::new(10); /// static e: EEPROM = EEPROM::new(10);
/// struct Scorebord { /// struct Scorebord {
/// player1: u16, /// player1: u16,
/// text: &'static str, /// text: &'static str,
/// } /// }
/// static mut s: Scorebord = Scorebord { /// static mut s: Scorebord = Scorebord {
/// player1: 0, /// player1: 0,
/// text: "lol\0", /// text: "lol\0",
/// }; /// };
/// ///
/// // init inside of the setup function /// // init inside of the setup function
/// e.init(&mut s); /// e.init(&mut s);
/// }
/// ``` /// ```
pub struct EEPROM { pub struct EEPROM {
start_c1: i16, start_c1: i16,