about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2018-02-09 11:24:18 -0500
committerNiko Matsakis <niko@alum.mit.edu>2018-03-13 11:21:30 -0400
commit10ae216b7516af352fbb477875887b085f731aad (patch)
tree640c15b2d485f2fde52b17a9b80afa013798f522
parent5ddcd09b53989f0a3c3fcefa5ba3ee9d40e60064 (diff)
downloadrust-10ae216b7516af352fbb477875887b085f731aad.tar.gz
rust-10ae216b7516af352fbb477875887b085f731aad.zip
fix typo in comment
-rw-r--r--src/librustc/infer/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/infer/mod.rs b/src/librustc/infer/mod.rs
index b94f1819c7d..d5afd6e9d3e 100644
--- a/src/librustc/infer/mod.rs
+++ b/src/librustc/infer/mod.rs
@@ -1246,7 +1246,7 @@ impl<'a, 'gcx, 'tcx> InferCtxt<'a, 'gcx, 'tcx> {
                 // it can be resolved to an int/float variable, which
                 // can then be recursively resolved, hence the
                 // recursion. Note though that we prevent type
-                // variables from unifying to other type variables
+                // variables from unifyxing to other type variables
                 // directly (though they may be embedded
                 // structurally), and we prevent cycles in any case,
                 // so this recursion should always be of very limited