From bee2d16a5b57dee51888e7c792c0f3c01a9d5e5f Mon Sep 17 00:00:00 2001 From: Lokathor Date: Thu, 27 Dec 2018 23:34:12 -0700 Subject: [PATCH] More docs, and also less no-docs warnings --- Cargo.toml | 2 +- src/io/background.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e265cad..eafa519 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ publish = false [dependencies] typenum = "1.10" -gba-proc-macro = "0.4" +gba-proc-macro = "0.4.1" #[dev-dependencies] #quickcheck="0.7" diff --git a/src/io/background.rs b/src/io/background.rs index b4cc9a7..abe1a31 100644 --- a/src/io/background.rs +++ b/src/io/background.rs @@ -2,13 +2,13 @@ use super::*; -// BG0 Control. Read/Write. Display Mode 0/1 only. +/// BG0 Control. Read/Write. Display Mode 0/1 only. pub const BG0CNT: VolAddress = unsafe { VolAddress::new_unchecked(0x400_0008) }; -// BG1 Control. Read/Write. Display Mode 0/1 only. +/// BG1 Control. Read/Write. Display Mode 0/1 only. pub const BG1CNT: VolAddress = unsafe { VolAddress::new_unchecked(0x400_000A) }; -// BG2 Control. Read/Write. Display Mode 0/1/2 only. +/// BG2 Control. Read/Write. Display Mode 0/1/2 only. pub const BG2CNT: VolAddress = unsafe { VolAddress::new_unchecked(0x400_000C) }; -// BG3 Control. Read/Write. Display Mode 0/2 only. +/// BG3 Control. Read/Write. Display Mode 0/2 only. pub const BG3CNT: VolAddress = unsafe { VolAddress::new_unchecked(0x400_000E) }; newtype! {