Skip to content

Commit

Permalink
Auto merge of rust-lang#11817 - weihanglo:semvercheck-fix, r=epage
Browse files Browse the repository at this point in the history
Fix semver check for 1.68

See https://github.com/rust-lang/cargo/actions/runs/4375746793/jobs/7656883351

Run `cd src/doc/semver-check && cargo +stable run` to test.
  • Loading branch information
bors authored and ehuss committed Mar 26, 2023
1 parent 52716f5 commit 02eceea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/reference/semver.md
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ impl Trait for Foo {}
fn main() {
let x = Foo;
x.foo(1); // Error: this function takes 0 arguments
x.foo(1); // Error: this method takes 0 arguments but 1 argument was supplied
}
```

Expand Down

0 comments on commit 02eceea

Please sign in to comment.