rust-osdev / volatile

Apache License 2.0
71 stars 19 forks source link

Change `slice::check_range` to `RangeBounds::assert_len` #16

Closed vetio closed 3 years ago

vetio commented 3 years ago

In 1.49 the slice::check_range unstable funciton got moved to RangeBounds::assert_len. https://github.com/rust-lang/rust/pull/76885

phil-opp commented 3 years ago

Thanks a lot!

According to the CI, the core::slice import is no longer needed now. Could you remove it?

vetio commented 3 years ago

Hi @phil-opp,

Soory about that, missed the warning locally. The import is now removed.

phil-opp commented 3 years ago

No worries, thanks for the quick update!

phil-opp commented 3 years ago

Published as v0.4.2