Skip to content

Commit 32ee273

Browse files
committed
---
yaml --- r: 219050 b: refs/heads/snap-stage3 c: 09c6203 h: refs/heads/master v: v3
1 parent 76060ae commit 32ee273

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: c044791d80ea0dc5c4b57b6030a67b69f8510239
3-
refs/heads/snap-stage3: dc99fdbd664a936d5f31783774a1362491b31e14
3+
refs/heads/snap-stage3: 09c6203ad6508dcf3374cddfc2778b861cd9a6be
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/snap-stage3/src/doc/trpl/traits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ it won’t affect you, unless you `use` that trait.
215215
There’s one more restriction on implementing traits: either the trait, or the
216216
type you’re writing the `impl` for, must be defined by you. So, we could
217217
implement the `HasArea` type for `i32`, because `HasArea` is in our code. But
218-
if we tried to implement `Float`, a trait provided by Rust, for `i32`, we could
218+
if we tried to implement `ToString`, a trait provided by Rust, for `i32`, we could
219219
not, because neither the trait nor the type are in our code.
220220

221221
One last thing about traits: generic functions with a trait bound use

0 commit comments

Comments
 (0)