Skip to content

Commit 2716160

Browse files
committed
transtive_relation: fix typo in comment for parents
1 parent 7409ffd commit 2716160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_data_structures/transitive_relation.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ impl<T: Clone + Debug + Eq + Hash + Clone> TransitiveRelation<T> {
303303
/// Given an element A, returns the maximal set {B} of elements B
304304
/// such that
305305
///
306-
/// - A != A
306+
/// - A != B
307307
/// - A R B is true
308308
/// - for each i, j: B[i] R B[j] does not hold
309309
///

0 commit comments

Comments
 (0)