about summary refs log tree commit diff
path: root/src/librustc/traits
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2018-10-22 18:21:55 +0200
committerMatthias Krüger <matthias.krueger@famsik.de>2018-10-23 15:56:25 +0200
commit4972beaf65cad992a6ed791fdefe90e46c09aa7b (patch)
treea6589cb893f6d436e4e2b0aef4fa48bbb3321335 /src/librustc/traits
parentd74b40205f7ecf30c680dc77e62cf4f127f2db09 (diff)
downloadrust-4972beaf65cad992a6ed791fdefe90e46c09aa7b.tar.gz
rust-4972beaf65cad992a6ed791fdefe90e46c09aa7b.zip
fix typos in various places
Diffstat (limited to 'src/librustc/traits')
-rw-r--r--src/librustc/traits/error_reporting.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/traits/error_reporting.rs b/src/librustc/traits/error_reporting.rs
index dc003992644..ea30752a820 100644
--- a/src/librustc/traits/error_reporting.rs
+++ b/src/librustc/traits/error_reporting.rs
@@ -412,7 +412,7 @@ impl<'a, 'gcx, 'tcx> InferCtxt<'a, 'gcx, 'tcx> {
             flags.push(("crate_local".to_owned(), None));
         }
 
-        // Allow targetting all integers using `{integral}`, even if the exact type was resolved
+        // Allow targeting all integers using `{integral}`, even if the exact type was resolved
         if self_ty.is_integral() {
             flags.push(("_Self".to_owned(), Some("{integral}".to_owned())));
         }