Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ Language changes in Rust 1.95.0
- `Const blocks are no longer evaluated to determine if expressions involving fallible operations can implicitly be constant-promoted <https://github.com/rust-lang/rust/pull/150557>`_
- `Make operational semantics of pattern matching independent of crate and module <https://github.com/rust-lang/rust/pull/150681>`_

FLS corrections
---------------

Changed paragraph: :p:`fls_1941wid94hlg`

New paragraph: :p:`fls_CSuxTkwR96j9`

Language changes in Rust 1.94.0
-------------------------------

Expand Down
9 changes: 4 additions & 5 deletions src/types-and-traits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -926,11 +926,10 @@ An :t:`unsafe function item type` is a :t:`function item type` where the related
A :t:`function item type` is coercible to a :t:`function pointer type`.

:dp:`fls_1941wid94hlg`
A :t:`function item type` implements the :std:`core::clone::Clone` :t:`trait`,
the :std:`core::marker::Copy` :t:`trait`, the :std:`core::ops::Fn` :t:`trait`,
the :std:`core::ops::FnMut` :t:`trait`, the :std:`core::ops::FnOnce` :t:`trait`,
the :std:`core::marker::Send` :t:`trait`, and the :std:`core::marker::Sync`
:t:`trait`.
A :t:`function item type` implements the :std:`core::clone::Clone` :t:`trait`, the :std:`core::marker::Copy` :t:`trait`, the :std:`core::marker::Send` :t:`trait`, and the :std:`core::marker::Sync` :t:`trait`.

:dp:`fls_CSuxTkwR96j9`
A :t:`function item type` implements the :std:`core::ops::Fn` :t:`trait`, the :std:`core::ops::FnMut` :t:`trait`, the :std:`core::ops::FnOnce` :t:`trait`, unless it is an :t:`unsafe function`, unless it has :t:`attribute` :c:`target_feature`, or unless it does not have a :t:`Rust ABI`.

.. _fls_3i4ou0dq64ny:

Expand Down
Loading