From 6918c170488179bbba582d26af3b6b2c27a77641 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Fri, 13 Jul 2018 01:28:36 -0400 Subject: [PATCH] nit: fix typo --- src/librustc_mir/borrow_check/nll/constraints/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_mir/borrow_check/nll/constraints/mod.rs b/src/librustc_mir/borrow_check/nll/constraints/mod.rs index f20802c7d025..597241234cdd 100644 --- a/src/librustc_mir/borrow_check/nll/constraints/mod.rs +++ b/src/librustc_mir/borrow_check/nll/constraints/mod.rs @@ -37,7 +37,7 @@ impl ConstraintSet { } /// Constructs a graph from the constraint set; the graph makes it - /// easy to find the constriants affecting a particular region + /// easy to find the constraints affecting a particular region /// (you should not mutate the set once this graph is /// constructed). crate fn graph(&self, num_region_vars: usize) -> graph::ConstraintGraph {