Skip to content

Commit a6c9a21

Browse files
committed
Fix semver check for 1.68
1 parent 7d3033d commit a6c9a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/semver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ impl Trait for Foo {}
702702
703703
fn main() {
704704
let x = Foo;
705-
x.foo(1); // Error: this function takes 0 arguments
705+
x.foo(1); // Error: this method takes 0 arguments but 1 argument was supplied
706706
}
707707
```
708708

0 commit comments

Comments
 (0)