diff options
| author | bors <bors@rust-lang.org> | 2018-07-09 06:38:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-07-09 06:38:47 +0000 |
| commit | ec039c7cb14e75866f7943845fc370205f4e4fd4 (patch) | |
| tree | ed973033a8ba596d984ea5c2d3d2c3e60f8a9e18 /src | |
| parent | a80a610a4c30b6f5f60862afcb4588d03439f66c (diff) | |
| parent | 70a6aeac0d2937d16f595178f5d2d3b2cfebac4e (diff) | |
| download | rust-ec039c7cb14e75866f7943845fc370205f4e4fd4.tar.gz rust-ec039c7cb14e75866f7943845fc370205f4e4fd4.zip | |
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 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()); |
