-
Notifications
You must be signed in to change notification settings - Fork 460
Fix documentation warnings #113
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
Conversation
I'm okay with dropping the code block changes due to rust-lang/rust#38739 |
src/lib.rs
Outdated
@@ -10,16 +10,14 @@ | |||
//! for writing applications but also to be a toolbox of networking primitives, so | |||
//! every layer is fully exposed and documented. | |||
//! | |||
//! When discussing networking stacks and layering, often the [OSI model][osi] is invoked. | |||
//! When discussing networking stacks and layering, often the [OSI model](osi) is invoked. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, what? How is this legal Markdown?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its not :(. I was playing around with some stuff and it got lumped in here.
src/phy/mod.rs
Outdated
@@ -17,73 +17,71 @@ | |||
//! An implementation of the [Device](trait.Device.html) trait for a simple hardware | |||
//! Ethernet controller could look as follows: | |||
//! | |||
/*! | |||
```rust |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change makes it a real pain in the ass to update large code blocks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. If we're okay with some extra warnings, I'd be okay with going back to /*!
.
Updated to use |
There are several warnings that are thrown when running `cargo doc`. Fix these warnings.
There are several warnings that are thrown when running
cargo doc
. Fixthese warnings.