rfc, cfg-path-version: define 'nightly' in terms of #![feature(..)]

This commit is contained in:
Mazdak Farrokhzad 2018-08-11 15:08:50 +02:00
parent c06eb95502
commit eb3ec271b7
1 changed files with 2 additions and 2 deletions

View File

@ -221,8 +221,8 @@ mechanism on.
To the `cfg` attribute , a `nightly` flag is added.
If and only if a Rust compiler considers itself to be on a nightly channel
it the `nightly` flag be considered active.
If and only if a Rust compiler permits a user to specify `#![feature(..)]`
will the `nightly` flag be considered active.
## `#[cfg(version = "<semver>")]`