Skip to content

Commit da48550

Browse files
committed
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.
1 parent 7f3df57 commit da48550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/default.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
///
5555
/// ## How can I implement `Default`?
5656
///
57-
/// Provides an implementation for the `default()` method that returns the value of
57+
/// Provide an implementation for the `default()` method that returns the value of
5858
/// your type that should be the default:
5959
///
6060
/// ```

0 commit comments

Comments
 (0)