]> git.lizzy.rs Git - rust.git/commitdiff
Nit: fix typo
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 15 Nov 2017 21:37:34 +0000 (16:37 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Thu, 16 Nov 2017 10:58:13 +0000 (05:58 -0500)
src/librustc_mir/transform/nll/region_infer.rs

index f218cc51d344b83f01760c7fb5e68cc5826a0a48..1609c1236b0ca9b22fd90774dc40e261637a899d 100644 (file)
@@ -92,7 +92,7 @@ fn contains_point(&self, point: Location) -> bool {
 #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
 pub struct Constraint {
     // NB. The ordering here is not significant for correctness, but
-    // it is for conenience. Before we dump the constraints in the
+    // it is for convenience. Before we dump the constraints in the
     // debugging logs, we sort them, and we'd like the "super region"
     // to be first, etc. (In particular, span should remain last.)