Skip to content

Commit ec039c7

Browse files
committed
Auto merge of #52066 - benjaminp:obligation-select, r=Mark-Simulacrum
Remove obsolete documentation from FufillmentContext::select comment. The `only_new_obligations` parameter has not existed since 4375693.
2 parents a80a610 + 70a6aea commit ec039c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustc/traits/fulfill.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ impl<'a, 'gcx, 'tcx> FulfillmentContext<'tcx> {
8787
}
8888
}
8989

90-
/// Attempts to select obligations using `selcx`. If `only_new_obligations` is true, then it
91-
/// only attempts to select obligations that haven't been seen before.
90+
/// Attempts to select obligations using `selcx`.
9291
fn select(&mut self, selcx: &mut SelectionContext<'a, 'gcx, 'tcx>)
9392
-> Result<(),Vec<FulfillmentError<'tcx>>> {
9493
debug!("select(obligation-forest-size={})", self.predicates.len());

0 commit comments

Comments
 (0)