Skip to content
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

doc: Fix errors #126

Merged
merged 1 commit into from
Sep 16, 2024
Merged

doc: Fix errors #126

merged 1 commit into from
Sep 16, 2024

Conversation

chrysn
Copy link
Member

@chrysn chrysn commented Sep 16, 2024

The fixes in 125 made the warnigns go away, but [.foo()] does not fix the warnings, it just looks so wrong that rustdoc doesn't even warn any more.

The fixes in [125] made the warnigns go away, but [`.foo()`] does not
fix the warnings, it just looks so wrong that rustdoc doesn't even warn
any more.

[125]: #125
@@ -20,7 +20,7 @@ impl ADCLine {

/// Initialize an ADC line identified by the line number it is assigned on the board
///
/// Safety: See [.init()]
/// Safety: See [Self::init()]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// Safety: See [Self::init()]
/// Safety: See [`.init()`][Self::init()]

@chrysn chrysn merged commit d7858f5 into main Sep 16, 2024
80 checks passed
@chrysn chrysn deleted the doc-fixes-more branch September 17, 2024 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants