Skip to content

Documentation #215

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

Merged
merged 4 commits into from
Nov 16, 2015
Merged

Documentation #215

merged 4 commits into from
Nov 16, 2015

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Nov 13, 2015

This PR adds documentation comments to the user module.

bildschirmfoto 2015-11-14 um 00 48 58

otherwise "cargo doc" fails to work
@Gankra
Copy link
Contributor

Gankra commented Nov 14, 2015

🎊 awesome!

@@ -18,6 +18,7 @@ use std::io::prelude::*;

use cargo_registry::Crate;

#[allow(dead_code)]
fn main() {
Copy link
Contributor

Choose a reason for hiding this comment

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

iirc the "proper" way to do this is #[cfg(not(test))]. May be misremembering for doc.

Copy link
Member Author

Choose a reason for hiding this comment

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

if I replace this with #[cfg(not(test))] I'm getting the following sort of errors again:

src/bin/delete-version.rs:22:1: 31:2 error: function is never used: `main`, #[deny(dead_code)] on by default

@Gankra
Copy link
Contributor

Gankra commented Nov 14, 2015

No opinion on the middleware changes. (I also don't have review rights anyway, so y'all'll need to wait on someone else for that)

@alexcrichton
Copy link
Member

Thanks!

alexcrichton added a commit that referenced this pull request Nov 16, 2015
@alexcrichton alexcrichton merged commit 07db49e into rust-lang:master Nov 16, 2015
@Turbo87 Turbo87 deleted the doc branch November 20, 2015 17:10
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.

3 participants