-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make AnyPin accessible from ::gpio::AnyPin
?
#1917
Comments
Not saying we shouldn't but re-exporting the types doesn't look too nice in the docs: If we think this improves the user experience we might want to move the code from the module into the super-module - originally, I wanted to have it separated because However no strong opinion on this - just something to consider |
Hmm.. need to check how |
I seem to managed to fix it by hiding the documentation for |
Currently import path for
AnyPin
for esp-hal is::gpio::any_pin::AnyPin
. Both embassy-nrf and embassy-stm32 have AnyPin under::gpio::AnyPin
.Would it make sense to switch to
::gpio::AnyPin
for esp-hal as well?The text was updated successfully, but these errors were encountered: