-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
join method returns a thread::Result #41741
Conversation
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
r? @steveklabnik (I think it's you, cause you created the issue) |
You're not wrong! While There's one problem with this PR, though, I think: you haven't created the actual link yet! That is, this won't inherently generate a link; check out all the stuff at the bottom of the comment block. Let me know if that doesn't make sense and I can help out! |
Thank you! I'm sorry I did not noticed that. I tried to fix this by myself (last commit). Though I'm still not sure I did it well. Is there a documentation for this (how to link in doc)? |
src/libstd/thread/mod.rs
Outdated
@@ -159,6 +159,7 @@ | |||
//! [`panic!`]: ../../std/macro.panic.html | |||
//! [`Builder`]: ../../std/thread/struct.Builder.html | |||
//! [`thread::current`]: ../../std/thread/fn.current.html | |||
//! [`thread::Result`]: ../../std/thread/struct.Result.html |
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 should be ../../std/thread/type.Result.html
type
not struct
:)
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.
Oops :/
It's Markdown syntax, so we don't have specific docs for it, since any markdown reference covers it. That said, you got it perfect, except one tiny little thing. If we change that it's good to go! |
Oops. Done! Thanks again for mentoring!! |
@bors: r+ rollup Thank you for the contribution! 🎊 |
📌 Commit 93e179a has been approved by |
join method returns a thread::Result Join method returns a std::thread::Result, not a std::result::Result: https://doc.rust-lang.org/std/thread/struct.JoinHandle.html#method.join Maybe I misunderstood something. I have seen this mistake(?) because I wanted to tackle this issue rust-lang#29378 (about Result). It's still one of my first PR. Sorry if I missed something.
join method returns a thread::Result Join method returns a std::thread::Result, not a std::result::Result: https://doc.rust-lang.org/std/thread/struct.JoinHandle.html#method.join Maybe I misunderstood something. I have seen this mistake(?) because I wanted to tackle this issue rust-lang#29378 (about Result). It's still one of my first PR. Sorry if I missed something.
Join method returns a std::thread::Result, not a std::result::Result: https://doc.rust-lang.org/std/thread/struct.JoinHandle.html#method.join Maybe I misunderstood something.
I have seen this mistake(?) because I wanted to tackle this issue #29378 (about Result). It's still one of my first PR. Sorry if I missed something.