about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorcuishuang <imcusg@gmail.com>2022-03-01 20:02:47 +0800
committercuishuang <imcusg@gmail.com>2022-03-01 20:02:47 +0800
commiteb2b9441e789b192b47be510b302b21fdfbaf3a2 (patch)
tree6ca2a26607de2c01d298ec0c37d1f4c37e278dfb /compiler/rustc_data_structures/src
parent4a56cbec59903a830a5fc06c5c81956de4199584 (diff)
downloadrust-eb2b9441e789b192b47be510b302b21fdfbaf3a2.tar.gz
rust-eb2b9441e789b192b47be510b302b21fdfbaf3a2.zip
compiler: fix some typos
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/sso/either_iter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/sso/either_iter.rs b/compiler/rustc_data_structures/src/sso/either_iter.rs
index af8ffcf4c13..131eeef4582 100644
--- a/compiler/rustc_data_structures/src/sso/either_iter.rs
+++ b/compiler/rustc_data_structures/src/sso/either_iter.rs
@@ -7,7 +7,7 @@ use std::iter::Iterator;
 /// one of two specific implementations.
 ///
 /// Note: For most methods providing custom
-///       implementation may margianlly
+///       implementation may marginally
 ///       improve performance by avoiding
 ///       doing Left/Right match on every step
 ///       and doing it only once instead.