about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-sum-overflow-debug.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2019-10-21 19:53:02 +0900
committerGitHub <noreply@github.com>2019-10-21 19:53:02 +0900
commit7ea9cfc1fb95b493b5b2bba3934018ed0ae59c67 (patch)
treee959ec35f241e0ec2ee57272db69c774de34db58 /src/test/ui/iterators/iter-sum-overflow-debug.rs
parentd56466ff5f7060011054e9710344a47f3bd52c9c (diff)
parent101e1f6f8f92c896ecef76dcc0a51d782c423de1 (diff)
downloadrust-7ea9cfc1fb95b493b5b2bba3934018ed0ae59c67.tar.gz
rust-7ea9cfc1fb95b493b5b2bba3934018ed0ae59c67.zip
Rollup merge of #65620 - ryoqun:remove-unneeded-comment, r=varkor
Correctly note code as Ok not error for E0573

Hi, this is my first pull request to the Rust project.

The fix is very small one just to fix an oversight in a comment.

Namely, [this documentation PR](https://github.com/rust-lang/rust/pull/65234) added a longer explanation for E0573. It illustrated the error using erroneous/corrected contrasting examples. But it accidentally forgot to remove `// error` from the corrected example.

Sadly, I found the error after the PR got merged. [As suggested by the original author](https://github.com/rust-lang/rust/pull/65234/files#r336518549) of the PR, I created an PR to fix this.

Part of #61137.
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-debug.rs')
0 files changed, 0 insertions, 0 deletions