Skip to content

Commit e51caf2

Browse files
committed
Remove behavior left behind from a previous iteration
1 parent d392d50 commit e51caf2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

text/3857-cfg-version.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,7 @@ So given `--check-cfg 'cfg(foo, values(since("1.95.0")))'`,
238238
A new built-in cfg `--cfg rust=<version>` will be added by the compiler
239239
that specifies the language version.
240240
This will be the version of `rustc` with the behavior for pre-release versions being unspecified.
241-
We expect rustc to:
242-
- Translate the `-nightly` pre-release to `-incomplete
243-
- Strip the `-beta.5` pre-release
241+
We expect rustc to strip pre-release versions, treating them as if they fully implement that language version.
244242

245243
`rust` will be specified as `--check-cfg 'cfg(rust, values(since("1.95.0")))'`
246244
(or whatever version this gets stabilized in).

0 commit comments

Comments
 (0)