-
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
Keyword doc #51581
Keyword doc #51581
Conversation
src/tools/rustdoc-js/tester.js
Outdated
errors += 1; | ||
console.error("FAILED"); | ||
console.error("==> Test was supposed to fail but all items were found..."); | ||
} else if (error_text.length !== 0 && should_fail === false) { |
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.
Any particular reason you went with a new should_fail_happy
variable instead of reusing error_text
like the regular output does? Just the early return?
50b4406
to
1fcce48
Compare
|
||
#[doc(keyword = "fn")] | ||
// | ||
/// The `fn` keyword. |
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.
Did we ever figure out if we needed the extra //
between the regular attribute and the docs, or was that just for spacing?
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.
Just for spacing.
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.
Makes sense. It seems a bit weird to leave it in, but i won't let it hold up the PR.
Thanks so much for kicking this off! (And for picking the one that immediately led to a problem to fix, haha!) Hopefully with the file in place we can send the great checklist out for new contributors. r=me pending travis. |
@bors: r=QuietMisdreavus |
📌 Commit 1fcce48 has been approved by |
Keyword doc Part of #51451. r? @QuietMisdreavus
☀️ Test successful - status-appveyor, status-travis |
Part of #51451.
r? @QuietMisdreavus