diff options
| author | Benjamin Peterson <benjamin@python.org> | 2018-07-04 18:24:00 -0700 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2018-07-04 18:25:04 -0700 |
| commit | 70a6aeac0d2937d16f595178f5d2d3b2cfebac4e (patch) | |
| tree | 1cedca93191d603a116c8d1b9b7026842ae34efb /src | |
| parent | 4af9132a022ebe4111395139d1a4e45e285d299a (diff) | |
| download | rust-70a6aeac0d2937d16f595178f5d2d3b2cfebac4e.tar.gz rust-70a6aeac0d2937d16f595178f5d2d3b2cfebac4e.zip | |
Remove obsolete documentation from FufillmentContext::select comment.
The `only_new_obligations` parameter has not existed since 43756934d255603a0fb7a871f2a145380e488b71.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/traits/fulfill.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc/traits/fulfill.rs b/src/librustc/traits/fulfill.rs index e97171c481f..b7d3ad76588 100644 --- a/src/librustc/traits/fulfill.rs +++ b/src/librustc/traits/fulfill.rs @@ -87,8 +87,7 @@ impl<'a, 'gcx, 'tcx> FulfillmentContext<'tcx> { } } - /// Attempts to select obligations using `selcx`. If `only_new_obligations` is true, then it - /// only attempts to select obligations that haven't been seen before. + /// Attempts to select obligations using `selcx`. fn select(&mut self, selcx: &mut SelectionContext<'a, 'gcx, 'tcx>) -> Result<(),Vec<FulfillmentError<'tcx>>> { debug!("select(obligation-forest-size={})", self.predicates.len()); |
