about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2018-07-04 18:24:00 -0700
committerBenjamin Peterson <benjamin@python.org>2018-07-04 18:25:04 -0700
commit70a6aeac0d2937d16f595178f5d2d3b2cfebac4e (patch)
tree1cedca93191d603a116c8d1b9b7026842ae34efb
parent4af9132a022ebe4111395139d1a4e45e285d299a (diff)
downloadrust-70a6aeac0d2937d16f595178f5d2d3b2cfebac4e.tar.gz
rust-70a6aeac0d2937d16f595178f5d2d3b2cfebac4e.zip
Remove obsolete documentation from FufillmentContext::select comment.
The `only_new_obligations` parameter has not existed since 43756934d255603a0fb7a871f2a145380e488b71.
-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());