diff options
| author | Ivan Tham <pickfire@riseup.net> | 2021-02-24 22:35:03 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-24 22:35:03 +0800 |
| commit | e56364fa995ce0e8e607fabdd4b959d3da848e2c (patch) | |
| tree | 1b7b81c602925fac576dcc2d6b895ef85b04a2fe | |
| parent | 888811b0598aa18c3e41d1c03f4caf6cd794eaa4 (diff) | |
| download | rust-e56364fa995ce0e8e607fabdd4b959d3da848e2c.tar.gz rust-e56364fa995ce0e8e607fabdd4b959d3da848e2c.zip | |
Use Oxform comma
Co-authored-by: Nathan Nguyen <43092380+nhwn@users.noreply.github.com>
| -rw-r--r-- | src/doc/unstable-book/src/language-features/doc-spotlight.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/language-features/doc-spotlight.md b/src/doc/unstable-book/src/language-features/doc-spotlight.md index 00a05e509b8..9f2ee9aecf4 100644 --- a/src/doc/unstable-book/src/language-features/doc-spotlight.md +++ b/src/doc/unstable-book/src/language-features/doc-spotlight.md @@ -6,7 +6,7 @@ The `doc_spotlight` feature allows the use of the `spotlight` parameter to the ` to "spotlight" a specific trait on the return values of functions. Adding a `#[doc(spotlight)]` attribute to a trait definition will make rustdoc print extra information for functions which return a type that implements that trait. This attribute is applied to the `Iterator`, `io::Read`, -`io::Write` and `Future` traits in the standard library. +`io::Write`, and `Future` traits in the standard library. You can do this on your own traits, like this: |
