diff options
Diffstat (limited to 'embassy-net-adin1110/src/phy.rs')
| -rw-r--r-- | embassy-net-adin1110/src/phy.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/embassy-net-adin1110/src/phy.rs b/embassy-net-adin1110/src/phy.rs index a37b2baa3..9966e1f6a 100644 --- a/embassy-net-adin1110/src/phy.rs +++ b/embassy-net-adin1110/src/phy.rs | |||
| @@ -30,7 +30,7 @@ pub mod RegsC45 { | |||
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | impl DA1 { | 32 | impl DA1 { |
| 33 | /// Convert. | 33 | #[allow(missing_docs)] |
| 34 | #[must_use] | 34 | #[must_use] |
| 35 | pub fn into(self) -> (u8, u16) { | 35 | pub fn into(self) -> (u8, u16) { |
| 36 | (0x01, self as u16) | 36 | (0x01, self as u16) |
| @@ -50,7 +50,7 @@ pub mod RegsC45 { | |||
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | impl DA3 { | 52 | impl DA3 { |
| 53 | /// Convert. | 53 | #[allow(missing_docs)] |
| 54 | #[must_use] | 54 | #[must_use] |
| 55 | pub fn into(self) -> (u8, u16) { | 55 | pub fn into(self) -> (u8, u16) { |
| 56 | (0x03, self as u16) | 56 | (0x03, self as u16) |
| @@ -66,7 +66,7 @@ pub mod RegsC45 { | |||
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | impl DA7 { | 68 | impl DA7 { |
| 69 | /// Convert. | 69 | #[allow(missing_docs)] |
| 70 | #[must_use] | 70 | #[must_use] |
| 71 | pub fn into(self) -> (u8, u16) { | 71 | pub fn into(self) -> (u8, u16) { |
| 72 | (0x07, self as u16) | 72 | (0x07, self as u16) |
| @@ -90,7 +90,7 @@ pub mod RegsC45 { | |||
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | impl DA1E { | 92 | impl DA1E { |
| 93 | /// Convert. | 93 | #[allow(missing_docs)] |
| 94 | #[must_use] | 94 | #[must_use] |
| 95 | pub fn into(self) -> (u8, u16) { | 95 | pub fn into(self) -> (u8, u16) { |
| 96 | (0x1e, self as u16) | 96 | (0x1e, self as u16) |
| @@ -108,7 +108,7 @@ pub mod RegsC45 { | |||
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | impl DA1F { | 110 | impl DA1F { |
| 111 | /// Convert. | 111 | #[allow(missing_docs)] |
| 112 | #[must_use] | 112 | #[must_use] |
| 113 | pub fn into(self) -> (u8, u16) { | 113 | pub fn into(self) -> (u8, u16) { |
| 114 | (0x1f, self as u16) | 114 | (0x1f, self as u16) |
