about summary refs log tree commit diff
path: root/src/libcore/iter
diff options
context:
space:
mode:
authorMikko Rantanen <jubjub@jubjubnest.net>2019-10-20 21:13:47 +0300
committerMikko Rantanen <jubjub@jubjubnest.net>2019-10-20 21:13:47 +0300
commit040d88dda1c65d6cb3cd5df5e81075a281f90da4 (patch)
tree7da9f5eebe4845c2a827e85f117cdbc5d1cb10bf /src/libcore/iter
parent857a55b8f0a692cb2304ab7c062d9cc74122e516 (diff)
Remove leading :: from paths in doc examples
Diffstat (limited to 'src/libcore/iter')
-rw-r--r--src/libcore/iter/traits/collect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/iter/traits/collect.rs b/src/libcore/iter/traits/collect.rs
index 25439136b85..00a86417058 100644
--- a/src/libcore/iter/traits/collect.rs
+++ b/src/libcore/iter/traits/collect.rs
@@ -167,7 +167,7 @@ pub trait FromIterator<A>: Sized {
 /// // and we'll implement IntoIterator
 /// impl IntoIterator for MyCollection {
 ///     type Item = i32;
-///     type IntoIter = ::std::vec::IntoIter<Self::Item>;
+///     type IntoIter = std::vec::IntoIter<Self::Item>;
 ///
 ///     fn into_iter(self) -> Self::IntoIter {
 ///         self.0.into_iter()