about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-09 06:38:47 +0000
committerbors <bors@rust-lang.org>2018-07-09 06:38:47 +0000
commitec039c7cb14e75866f7943845fc370205f4e4fd4 (patch)
treeed973033a8ba596d984ea5c2d3d2c3e60f8a9e18 /src
parenta80a610a4c30b6f5f60862afcb4588d03439f66c (diff)
parent70a6aeac0d2937d16f595178f5d2d3b2cfebac4e (diff)
downloadrust-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.rs3
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());