Constify mem::swap and ptr::swap[_nonoverlapping]

This commit is contained in:
Albin Hedman
2021-03-13 20:33:27 +01:00
parent 62cf244563
commit 64e2248794
4 changed files with 12 additions and 27 deletions

View File

@@ -98,6 +98,7 @@
#![feature(const_slice_from_raw_parts)]
#![feature(const_slice_ptr_len)]
#![feature(const_size_of_val)]
#![feature(const_swap)]
#![feature(const_align_of_val)]
#![feature(const_type_id)]
#![feature(const_type_name)]