Skip to content

Commit b833480

Browse files
committed
1 parent fc24871 commit b833480

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

src/changelog.rst

+5
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ Language changes in Rust 1.83.0
3838
* No change: Already covered by the definition of :t:`data race`.
3939

4040
* `Non-exhaustive structs may now be empty. <https://github.com/rust-lang/rust/pull/128934>`_
41+
42+
* Removed paragraph: :p:`fls_2CWUWbYT9KcT`
43+
44+
* Changed paragraph: :p:`fls_fSNrRsgzLd0E`, :p:`fls_S9QL6yVF5LFI`
45+
4146
* `Disallow implicit coercions from places of type \`!\` <https://github.com/rust-lang/rust/pull/129392>`_
4247
* `\`const extern\` functions can now be defined for other calling conventions. <https://github.com/rust-lang/rust/pull/129753>`_
4348
* `Stabilize \`expr_2021\` macro fragment specifier in all editions. <https://github.com/rust-lang/rust/pull/129972>`_

src/types-and-traits.rst

+2-9
Original file line numberDiff line numberDiff line change
@@ -2233,23 +2233,16 @@ A :t:`type` is subject to :t:`visible emptiness` as follows:
22332233
The :t:`type` is an :t:`enum type` not subject to :t:`attribute` :c:`non_exhaustive` with all :t:`[enum variant]s` are subject to :t:`visible emptiness`.
22342234

22352235
* :dp:`fls_fSNrRsgzLd0E`
2236-
The :t:`type` is a :t:`struct type` not subject to :t:`attribute` :c:`non_exhaustive` with at least one :t:`visible <visibility>` :t:`field` whose :t:`type` is subject to :t:`visible emptiness`.
2236+
The :t:`type` is a :t:`struct type` with at least one :t:`visible <visibility>` :t:`field` whose :t:`type` is subject to :t:`visible emptiness`.
22372237

22382238
* :dp:`fls_R65LmGTvSlIm`
22392239
The :t:`type` is a :t:`tuple type` with at least one of the contained :t:`[type]s` is subject to :t:`visible emptiness`.
22402240

22412241
* :dp:`fls_yiPv3wKYkSRl`
22422242
The :t:`type` is an :t:`array type` with a non-zero :t:`size operand` and an :t:`element type` that is subject to :t:`visible emptiness`.
22432243

2244-
22452244
:dp:`fls_S9QL6yVF5LFI`
2246-
A :t:`enum variant` is subject to :t:`visible emptiness` as follows:
2247-
2248-
* :dp:`fls_xegU2TFXypcu`
2249-
The respective :t:`enum type` is not subject to :t:`attribute` :c:`non_exhaustive`.
2250-
2251-
* :dp:`fls_2CWUWbYT9KcT`
2252-
The :t:`type` of at least one of the :t:`enum variant`'s visible <visibility> :t:`[field]s` is subject to :t:`visible emptiness`.
2245+
A :t:`enum variant` is subject to :t:`visible emptiness` when the :t:`type` of at least one of the :t:`enum variant`'s visible <visibility> :t:`[field]s` is subject to :t:`visible emptiness`.
22532246

22542247
.. _fls_lv7w7aalpwm5:
22552248

0 commit comments

Comments
 (0)