]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #52066 - benjaminp:obligation-select, r=Mark-Simulacrum
authorbors <bors@rust-lang.org>
Mon, 9 Jul 2018 06:38:47 +0000 (06:38 +0000)
committerbors <bors@rust-lang.org>
Mon, 9 Jul 2018 06:38:47 +0000 (06:38 +0000)
Remove obsolete documentation from FufillmentContext::select comment.

The `only_new_obligations` parameter has not existed since 43756934d255603a0fb7a871f2a145380e488b71.

src/librustc/traits/fulfill.rs

index e97171c481f1dd25c04fea9efdb7280be14eb2f1..b7d3ad76588f7253a8d596a4412eb76b675e8ce2 100644 (file)
@@ -87,8 +87,7 @@ pub fn new_ignoring_regions() -> 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());