From a6c9a21d423ff983a29f0dd83fc7458e1d5b2125 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Thu, 9 Mar 2023 15:25:06 +0000 Subject: [PATCH] Fix semver check for 1.68 --- src/doc/src/reference/semver.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/src/reference/semver.md b/src/doc/src/reference/semver.md index b7274c259cb..c8d7167fc45 100644 --- a/src/doc/src/reference/semver.md +++ b/src/doc/src/reference/semver.md @@ -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 } ```