diff --git a/src/doc/src/reference/semver.md b/src/doc/src/reference/semver.md index c8d7167fc45..22c42610f17 100644 --- a/src/doc/src/reference/semver.md +++ b/src/doc/src/reference/semver.md @@ -944,7 +944,7 @@ pub fn foo() {} use updated_crate::foo; fn main() { - foo::(); // Error: this function takes 2 generic arguments but 1 generic argument was supplied + foo::(); // Error: function takes 2 generic arguments but 1 generic argument was supplied } ```