From 70a6aeac0d2937d16f595178f5d2d3b2cfebac4e Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 4 Jul 2018 18:24:00 -0700 Subject: [PATCH] Remove obsolete documentation from FufillmentContext::select comment. The `only_new_obligations` parameter has not existed since 43756934d255603a0fb7a871f2a145380e488b71. --- src/librustc/traits/fulfill.rs | 3 +-- 1 file changed, 1 insertion(+), 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>> { debug!("select(obligation-forest-size={})", self.predicates.len());