From 11c34c7a47d1b0d2be429c09615469b8af9f2a7d Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Wed, 14 Dec 2022 03:17:38 +0200 Subject: [PATCH] typo --- src/mir/visitor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mir/visitor.md b/src/mir/visitor.md index 1c3ef13b..505b700b 100644 --- a/src/mir/visitor.md +++ b/src/mir/visitor.md @@ -38,7 +38,7 @@ recursively walk the contents of the `foo`, you then invoke the `super_foo` method. (NB. You never want to override `super_foo`.) A very simple example of a visitor can be found in [`LocalUseCounter`]. -By implementing `visit_local` method, this visitor counts how many tims each local is used. +By implementing `visit_local` method, this visitor counts how many times each local is used. [`LocalUseCounter`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_transform/simplify_try/struct.LocalUseCounter.html