diff options
| author | klensy <klensy@users.noreply.github.com> | 2021-04-19 15:57:08 +0300 |
|---|---|---|
| committer | klensy <klensy@users.noreply.github.com> | 2021-04-19 15:57:08 +0300 |
| commit | f43ee8ebf696eec5a8a844629e4f7e910f9f0afd (patch) | |
| tree | bf829ad19f0402dd8c1148d5df4d6c1edce87923 /compiler/rustc_privacy/src | |
| parent | 62652865b6029b4776a7c03efa13a37b15c9b953 (diff) | |
fix few typos
Diffstat (limited to 'compiler/rustc_privacy/src')
| -rw-r--r-- | compiler/rustc_privacy/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_privacy/src/lib.rs b/compiler/rustc_privacy/src/lib.rs index e092bb845ff..d37a5be2fe5 100644 --- a/compiler/rustc_privacy/src/lib.rs +++ b/compiler/rustc_privacy/src/lib.rs @@ -1114,7 +1114,7 @@ impl<'tcx> Visitor<'tcx> for NamePrivacyVisitor<'tcx> { //////////////////////////////////////////////////////////////////////////////////////////// /// Type privacy visitor, checks types for privacy and reports violations. -/// Both explicitly written types and inferred types of expressions and patters are checked. +/// Both explicitly written types and inferred types of expressions and patterns are checked. /// Checks are performed on "semantic" types regardless of names and their hygiene. //////////////////////////////////////////////////////////////////////////////////////////// |
