From f0a7e8f58ccdd8a87c0a2e187437b7891bded722 Mon Sep 17 00:00:00 2001 From: gorilskij <43991400+gorilskij@users.noreply.github.com> Date: Tue, 28 Jan 2020 23:06:58 +0100 Subject: [PATCH] Fix a few spelling mistakes --- src/librustc/mir/traversal.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc/mir/traversal.rs b/src/librustc/mir/traversal.rs index a89811ed43bb..ed8129b1e09a 100644 --- a/src/librustc/mir/traversal.rs +++ b/src/librustc/mir/traversal.rs @@ -4,7 +4,7 @@ /// 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 @@ fn size_hint(&self) -> (usize, Option) { /// 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 /// ///