Skip to content

Commit 7d91581

Browse files
committed
Change Make comment into doc comment on Graph::iterate_until_fixed_point
1 parent fcf0262 commit 7d91581

File tree

1 file changed

+5
-8
lines changed
  • src/librustc_data_structures/graph

1 file changed

+5
-8
lines changed

src/librustc_data_structures/graph/mod.rs

+5-8
Original file line numberDiff line numberDiff line change
@@ -282,14 +282,11 @@ impl<N: Debug, E: Debug> Graph<N, E> {
282282
self.incoming_edges(target).sources()
283283
}
284284

285-
// # Fixed-point iteration
286-
//
287-
// A common use for graphs in our compiler is to perform
288-
// fixed-point iteration. In this case, each edge represents a
289-
// constraint, and the nodes themselves are associated with
290-
// variables or other bitsets. This method facilitates such a
291-
// computation.
292-
285+
/// A common use for graphs in our compiler is to perform
286+
/// fixed-point iteration. In this case, each edge represents a
287+
/// constraint, and the nodes themselves are associated with
288+
/// variables or other bitsets. This method facilitates such a
289+
/// computation.
293290
pub fn iterate_until_fixed_point<'a, F>(&'a self, mut op: F)
294291
where F: FnMut(usize, EdgeIndex, &'a Edge<E>) -> bool
295292
{

0 commit comments

Comments
 (0)