Change slice length check to use stable method

This commit is contained in:
Til Blechschmidt
2022-02-23 23:30:50 +01:00
parent 66fdec7abe
commit 6dc58645d2
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#![no_std]
#![cfg_attr(
feature = "nightly",
feature(generic_associated_types, type_alias_impl_trait, slice_ptr_len)
feature(generic_associated_types, type_alias_impl_trait)
)]
#[cfg(not(any(