Browse Source

Fixed doc lints

pull/137/head
Andrea Ciliberti 1 year ago
parent
commit
b577a39323
  1. 2
      ctru-rs/src/applets/mii_selector.rs
  2. 2
      ctru-rs/src/linear.rs

2
ctru-rs/src/applets/mii_selector.rs

@ -1,7 +1,7 @@
//! Mii Selector applet. //! Mii Selector applet.
//! //!
//! This applet opens a window which lets the player/user choose a Mii from the ones present on their console. //! This applet opens a window which lets the player/user choose a Mii from the ones present on their console.
//! The selected Mii is readable as a [`Mii`](crate::mii::Mii). //! The selected Mii is readable as a [`Mii`].
use crate::mii::Mii; use crate::mii::Mii;
use bitflags::bitflags; use bitflags::bitflags;

2
ctru-rs/src/linear.rs

@ -16,7 +16,7 @@ use std::ptr::NonNull;
// Sadly the linear memory allocator included in `libctru` doesn't implement `linearRealloc` at the time of these additions, // Sadly the linear memory allocator included in `libctru` doesn't implement `linearRealloc` at the time of these additions,
// but the default fallback of the `std` will take care of that for us. // but the default fallback of the `std` will take care of that for us.
/// [`Allocator`](std::alloc::Allocator) struct for LINEAR memory. /// [`Allocator`] struct for LINEAR memory.
/// ///
/// To use this struct the main crate must activate the `allocator_api` unstable feature. /// To use this struct the main crate must activate the `allocator_api` unstable feature.
#[derive(Copy, Clone, Default, Debug)] #[derive(Copy, Clone, Default, Debug)]

Loading…
Cancel
Save