From 2111e265666dabb83c034102e7b5c6142118e387 Mon Sep 17 00:00:00 2001 From: Zenn Date: Mon, 14 Aug 2023 20:37:57 +0200 Subject: [PATCH] Update docs --- arduboy-rust/src/library/eeprom.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/arduboy-rust/src/library/eeprom.rs b/arduboy-rust/src/library/eeprom.rs index 0937519..a1cacbb 100644 --- a/arduboy-rust/src/library/eeprom.rs +++ b/arduboy-rust/src/library/eeprom.rs @@ -19,17 +19,16 @@ extern "C" { /// ``` /// static e: EEPROM = EEPROM::new(10); /// struct Scorebord { -/// player1: u16, -/// text: &'static str, +/// player1: u16, +/// text: &'static str, /// } /// static mut s: Scorebord = Scorebord { -/// player1: 0, -/// text: "lol\0", +/// player1: 0, +/// text: "lol\0", /// }; /// /// // init inside of the setup function -/// e.init(&mut s); -/// } +/// e.init(&mut s); /// ``` pub struct EEPROM { start_c1: i16,