From 271616088f42eb6f1ccd78d2a9d7923507d04655 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Mon, 4 Dec 2017 10:46:35 -0500 Subject: [PATCH] transtive_relation: fix typo in comment for `parents` --- src/librustc_data_structures/transitive_relation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_data_structures/transitive_relation.rs b/src/librustc_data_structures/transitive_relation.rs index ffbb218dabe..ba7ab0c07c6 100644 --- a/src/librustc_data_structures/transitive_relation.rs +++ b/src/librustc_data_structures/transitive_relation.rs @@ -303,7 +303,7 @@ impl TransitiveRelation { /// Given an element A, returns the maximal set {B} of elements B /// such that /// - /// - A != A + /// - A != B /// - A R B is true /// - for each i, j: B[i] R B[j] does not hold ///