Skip to content

Commit

Permalink
add more docs and fix camel case warning
Browse files Browse the repository at this point in the history
  • Loading branch information
adryzz committed Nov 25, 2023
1 parent d770b66 commit 126d13d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ctru-rs/src/services/ac.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ impl Drop for Ac {
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[repr(u32)]
#[non_exhaustive]
#[allow(non_camel_case_types)]
/// Represents all the supported Wi-Fi security modes.
pub enum SecurityMode {
/// No authentication
Expand All @@ -333,9 +334,13 @@ pub enum SecurityMode {

#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
#[repr(u32)]
/// Represents a network slot, like in the System Settings
pub enum NetworkSlot {
/// The first network slot
First = 0,
/// The second network slot
Second = 1,
/// The third network slot
Third = 2,
}

Expand Down

0 comments on commit 126d13d

Please sign in to comment.