diff options
| author | Leo Cassarani <me@leocassarani.net> | 2020-04-16 22:30:53 +0100 |
|---|---|---|
| committer | Leo Cassarani <me@leocassarani.net> | 2020-04-16 22:39:00 +0100 |
| commit | da48550b330d95ac92ae6a65901b10ba3ccc130c (patch) | |
| tree | ec8015655ab59b3fa431badf15bed1f1db6c568f | |
| parent | 7f3df5772439eee1c512ed2eb540beef1124d236 (diff) | |
| download | rust-da48550b330d95ac92ae6a65901b10ba3ccc130c.tar.gz rust-da48550b330d95ac92ae6a65901b10ba3ccc130c.zip | |
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.
| -rw-r--r-- | src/libcore/default.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/default.rs b/src/libcore/default.rs index 15ac3aea8b7..06402a05d26 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: /// /// ``` |
