Skip to content

Commit 9ecc54b

Browse files
committed
Revert "Add workaround for rust-lang/rust#128617"
This reverts commit b3e9cc7.
1 parent 0b12a65 commit 9ecc54b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/mac/miim.rs

-4
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ where
123123
mod pin_impls {
124124
use crate::hal::gpio::{gpioa::PA2, gpioc::PC1, Alternate};
125125

126-
// See: https://github.com/rust-lang/rust/issues/128617
127-
#[allow(dead_code)]
128126
const AF11: u8 = 11;
129127

130128
unsafe impl super::MdioPin for PA2<Alternate<AF11>> {}
@@ -135,8 +133,6 @@ mod pin_impls {
135133
mod pin_impls {
136134
use crate::hal::gpio::{gpioa::PA2, gpioc::PC1, Alternate};
137135

138-
// See: https://github.com/rust-lang/rust/issues/128617
139-
#[allow(dead_code)]
140136
const AF11: u8 = 11;
141137

142138
unsafe impl super::MdioPin for PA2<Alternate<AF11>> {}

0 commit comments

Comments
 (0)