Skip to content

Commit

Permalink
Auto merge of #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 weihanglo committed Mar 9, 2023
1 parent 881b030 commit 32dbbce
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 32dbbce

Please sign in to comment.