-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
I tried viewing this code with rustdoc
:
// Both opts don't make sense
if matches.opt_present("m") && matches.opt_present("a") {
print_usage(&program, opts);
return;
}
I expected to see this happen: the &&
operator to be highlighted correctly
Meta
rustc --version --verbose
: (issue also exists with nightly, 2020-05-14
)
rustc 1.43.1 (8d69840ab 2020-05-04)
binary: rustc
commit-hash: 8d69840ab92ea7f4d323420088dd8c9775f180cd
commit-date: 2020-05-04
host: x86_64-unknown-linux-musl
release: 1.43.1
LLVM version: 9.0
This issue has been assigned to @euclio via this comment.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.