We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 958909a commit b81c189Copy full SHA for b81c189
compiler/rustc_type_ir/src/search_graph/mod.rs
@@ -130,6 +130,9 @@ impl PathKind {
130
///
131
/// Given an inductive path `self` and a coinductive path `rest`,
132
/// the path `self -> rest` would be coinductive.
133
+ ///
134
+ /// This operation represents an ordering and would be equivalent
135
+ /// to `max(self, rest)`.
136
fn extend(self, rest: PathKind) -> PathKind {
137
match (self, rest) {
138
(PathKind::Coinductive, _) | (_, PathKind::Coinductive) => PathKind::Coinductive,
0 commit comments