about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-01-29 09:34:52 +0900
committerGitHub <noreply@github.com>2020-01-29 09:34:52 +0900
commit10fbbf6fba4bdc8126f7fe2d208f9907e49fd4ff (patch)
tree7309a26424fd05e74a9b83037b1d6b2680565e13 /src
parent8d3273cdba51bd15532488056efea2ea43007344 (diff)
parentf0a7e8f58ccdd8a87c0a2e187437b7891bded722 (diff)
downloadrust-10fbbf6fba4bdc8126f7fe2d208f9907e49fd4ff.tar.gz
rust-10fbbf6fba4bdc8126f7fe2d208f9907e49fd4ff.zip
Rollup merge of #68619 - gorilskij:master, r=varkor
Fix a few spelling mistakes
Diffstat (limited to 'src')
-rw-r--r--src/librustc/mir/traversal.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/mir/traversal.rs b/src/librustc/mir/traversal.rs
index a89811ed43b..ed8129b1e09 100644
--- a/src/librustc/mir/traversal.rs
+++ b/src/librustc/mir/traversal.rs
@@ -4,7 +4,7 @@ use super::*;
 
 /// Preorder traversal of a graph.
 ///
-/// Preorder traversal is when each node is visited before an of it's
+/// Preorder traversal is when each node is visited before any of its
 /// successors
 ///
 /// ```text
@@ -82,7 +82,7 @@ impl<'a, 'tcx> Iterator for Preorder<'a, 'tcx> {
 
 /// Postorder traversal of a graph.
 ///
-/// Postorder traversal is when each node is visited after all of it's
+/// Postorder traversal is when each node is visited after all of its
 /// successors, except when the successor is only reachable by a back-edge
 ///
 ///