about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2015-06-01 23:07:42 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2015-06-02 06:22:01 +0200
commit09c6203ad6508dcf3374cddfc2778b861cd9a6be (patch)
tree475d8648e16703a8d363934f57f5fbce1748a2f7
parentdc99fdbd664a936d5f31783774a1362491b31e14 (diff)
downloadrust-09c6203ad6508dcf3374cddfc2778b861cd9a6be.tar.gz
rust-09c6203ad6508dcf3374cddfc2778b861cd9a6be.zip
booK: Float no longer exists
-rw-r--r--src/doc/trpl/traits.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/traits.md b/src/doc/trpl/traits.md
index d3f50884a16..162a2db1ec7 100644
--- a/src/doc/trpl/traits.md
+++ b/src/doc/trpl/traits.md
@@ -215,7 +215,7 @@ it won’t affect you, unless you `use` that trait.
 There’s one more restriction on implementing traits: either the trait, or the
 type you’re writing the `impl` for, must be defined by you. So, we could
 implement the `HasArea` type for `i32`, because `HasArea` is in our code. But
-if we tried to implement `Float`, a trait provided by Rust, for `i32`, we could
+if we tried to implement `ToString`, a trait provided by Rust, for `i32`, we could
 not, because neither the trait nor the type are in our code.
 
 One last thing about traits: generic functions with a trait bound use