Skip to content

Commit

Permalink
&self -> self
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebraham committed Apr 23, 2024
1 parent 75263eb commit f4904a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp-hal/src/gpio/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1908,7 +1908,7 @@ macro_rules! gpio {
) => {
paste::paste! {
impl GPIO {
pub(crate) fn pins(&self) -> Pins {
pub(crate) fn pins(self) -> Pins {
Pins {
$(
[< gpio $gpionum >]: {
Expand Down

0 comments on commit f4904a2

Please sign in to comment.