Skip to content

Commit

Permalink
Revert "Add workaround for rust-lang/rust#128617"
Browse files Browse the repository at this point in the history
This reverts commit b3e9cc7.
  • Loading branch information
datdenkikniet committed Nov 3, 2024
1 parent 0b12a65 commit 9ecc54b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/mac/miim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ where
mod pin_impls {
use crate::hal::gpio::{gpioa::PA2, gpioc::PC1, Alternate};

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

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

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

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

0 comments on commit 9ecc54b

Please sign in to comment.