From da48550b330d95ac92ae6a65901b10ba3ccc130c Mon Sep 17 00:00:00 2001 From: Leo Cassarani Date: Thu, 16 Apr 2020 22:30:53 +0100 Subject: [PATCH] Fix typo in Default trait docs: Provides -> Provide An earlier commit (99ed06e) accidentally changed this paragraph from the original, imperative "Provide" to the present tense "Provides". The latter is indeed the standard for Rustdoc comments relating to a function or method, but this snippet is introducing the Default trait in general terms and not talking about any particular function. I believe this change was likely made in error and should be reverted. --- src/libcore/default.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/default.rs b/src/libcore/default.rs index 15ac3aea8b7ba..06402a05d2687 100644 --- a/src/libcore/default.rs +++ b/src/libcore/default.rs @@ -54,7 +54,7 @@ /// /// ## How can I implement `Default`? /// -/// Provides an implementation for the `default()` method that returns the value of +/// Provide an implementation for the `default()` method that returns the value of /// your type that should be the default: /// /// ```