rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
98.86k stars 12.77k forks source link

Mark `<[T; N]>::as_mut_slice` with the `const` specifier. #133332

Closed bjoernager closed 2 days ago

bjoernager commented 3 days ago

Tracking issue: #133333

<[T; N]>::as_mut_slice can have the const specifier without any changes to the function body.

rustbot commented 3 days ago

r? @Noratrieb

rustbot has assigned @Noratrieb. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

bjoernager commented 3 days ago

r? libs-api

@rustbot +T-libs-api -T-libs

bjoernager commented 3 days ago

Wrong command. :/

@rustbot label -T-libs

jhpratt commented 3 days ago

@bors r+ rollup

bors commented 3 days ago

:pushpin: Commit c85a742cb12491b1f138c5d208f9c0cc5434dd77 has been approved by jhpratt

It is now in the queue for this repository.