Skip to content

Commit ea4dc0c

Browse files
authored
Rollup merge of #40258 - est31:master, r=nikomatsakis
Fix description of closure coercion feature Thanks to @whitequark for pointing this out.
2 parents ddd95bd + b55f1e5 commit ea4dc0c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libsyntax/feature_gate.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,7 @@ declare_features! (
330330
// `extern "msp430-interrupt" fn()`
331331
(active, abi_msp430_interrupt, "1.16.0", Some(38487)),
332332

333-
// Used to identify crates that contain sanitizer runtimes
334-
// rustc internal
333+
// Coerces non capturing closures to function pointers
335334
(active, closure_to_fn_coercion, "1.17.0", Some(39817)),
336335

337336
// Used to identify crates that contain sanitizer runtimes

0 commit comments

Comments
 (0)