about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <arielb1@mail.tau.ac.il>2017-03-08 20:53:54 +0200
committerGitHub <noreply@github.com>2017-03-08 20:53:54 +0200
commitf38e332b79010151c5464cf223d101e2a92ac9a1 (patch)
treee87c1084256c51de871884c138f71cad02c1b73a
parent1e536245e8f4de099f3b51a872c5c9c90aa1dc81 (diff)
parentb55f1e5342a948b546ad61b437ede6096ffee613 (diff)
downloadrust-f38e332b79010151c5464cf223d101e2a92ac9a1.tar.gz
rust-f38e332b79010151c5464cf223d101e2a92ac9a1.zip
Rollup merge of #40258 - est31:master, r=nikomatsakis
Fix description of closure coercion feature

Thanks to @whitequark for pointing this out.
-rw-r--r--src/libsyntax/feature_gate.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index 6eb7d449f26..e7bf16eae9e 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -330,8 +330,7 @@ declare_features! (
     // `extern "msp430-interrupt" fn()`
     (active, abi_msp430_interrupt, "1.16.0", Some(38487)),
 
-    // Used to identify crates that contain sanitizer runtimes
-    // rustc internal
+    // Coerces non capturing closures to function pointers
     (active, closure_to_fn_coercion, "1.17.0", Some(39817)),
 
     // Used to identify crates that contain sanitizer runtimes