about summary refs log tree commit diff
path: root/src/libcore/unit.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/unit.rs')
-rw-r--r--src/libcore/unit.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/unit.rs b/src/libcore/unit.rs
index bf01ceb8b2d..f41f4a5e94a 100644
--- a/src/libcore/unit.rs
+++ b/src/libcore/unit.rs
@@ -15,7 +15,7 @@ use crate::iter::FromIterator;
 /// ```
 #[stable(feature = "unit_from_iter", since = "1.23.0")]
 impl FromIterator<()> for () {
-    fn from_iter<I: IntoIterator<Item=()>>(iter: I) -> Self {
+    fn from_iter<I: IntoIterator<Item = ()>>(iter: I) -> Self {
         iter.into_iter().for_each(|()| {})
     }
 }