better keep missing docs for into

This commit is contained in:
Ulf Lilleengen 2023-12-20 13:12:32 +01:00
parent b0583b17cb
commit b8777eaea2

View File

@ -30,7 +30,7 @@ pub mod RegsC45 {
}
impl DA1 {
/// Convert.
#[allow(missing_docs)]
#[must_use]
pub fn into(self) -> (u8, u16) {
(0x01, self as u16)
@ -50,7 +50,7 @@ pub mod RegsC45 {
}
impl DA3 {
/// Convert.
#[allow(missing_docs)]
#[must_use]
pub fn into(self) -> (u8, u16) {
(0x03, self as u16)
@ -66,7 +66,7 @@ pub mod RegsC45 {
}
impl DA7 {
/// Convert.
#[allow(missing_docs)]
#[must_use]
pub fn into(self) -> (u8, u16) {
(0x07, self as u16)
@ -90,7 +90,7 @@ pub mod RegsC45 {
}
impl DA1E {
/// Convert.
#[allow(missing_docs)]
#[must_use]
pub fn into(self) -> (u8, u16) {
(0x1e, self as u16)
@ -108,7 +108,7 @@ pub mod RegsC45 {
}
impl DA1F {
/// Convert.
#[allow(missing_docs)]
#[must_use]
pub fn into(self) -> (u8, u16) {
(0x1f, self as u16)