diff options
| author | Corey Farwell <coreyf@rwell.org> | 2015-08-24 17:26:26 -0400 |
|---|---|---|
| committer | Corey Farwell <coreyf@rwell.org> | 2015-08-24 17:26:26 -0400 |
| commit | 1629dce4943ca1c9316493a2b3d6710fb263b232 (patch) | |
| tree | d283fafa5cc28ff96e4174eea1b87f1bb45857fc /src | |
| parent | 4c996499a1bcf747b12f8290eeff3024e59da529 (diff) | |
| download | rust-1629dce4943ca1c9316493a2b3d6710fb263b232.tar.gz rust-1629dce4943ca1c9316493a2b3d6710fb263b232.zip | |
Use correct indefinite article in reference.md
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/reference.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 284fcf6aed0..70e3145903f 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1452,7 +1452,7 @@ fn draw_twice<T: Shape>(surface: Surface, sh: T) { } ``` -Traits also define an [trait object](#trait-objects) with the same +Traits also define a [trait object](#trait-objects) with the same name as the trait. Values of this type are created by coercing from a pointer of some specific type to a pointer of trait type. For example, `&T` could be coerced to `&Shape` if `T: Shape` holds (and similarly |
