Skip to content

Commit 35a20c0

Browse files
committed
edition: 2018 -> 2021
1 parent 9094278 commit 35a20c0

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1818

1919
### Changed
2020

21+
- updated from edition 2018 to edition 2021
2122
- [breaking-change] `IndexMap` and `IndexSet` now require that keys implement the `core::hash::Hash`
2223
trait instead of the `hash32::Hash` (v0.2.0) trait
2324
- move `pool::singleton::Box` to the `pool::box` module

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors = [
77
categories = ["data-structures", "no-std"]
88
description = "`static` friendly data structures that don't require dynamic memory allocation"
99
documentation = "https://docs.rs/heapless"
10-
edition = "2018"
10+
edition = "2021"
1111
keywords = ["static", "no-heap"]
1212
license = "MIT OR Apache-2.0"
1313
name = "heapless"

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@
7575
7676
#![cfg_attr(not(test), no_std)]
7777
#![deny(missing_docs)]
78-
#![deny(rust_2018_compatibility)]
79-
#![deny(rust_2018_idioms)]
8078
#![deny(warnings)]
8179

8280
pub use binary_heap::BinaryHeap;

src/vec.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
use core::{
2-
cmp::Ordering, convert::TryFrom, fmt, hash, iter::FromIterator, mem::MaybeUninit, ops, ptr,
3-
slice,
4-
};
1+
use core::{cmp::Ordering, fmt, hash, iter::FromIterator, mem::MaybeUninit, ops, ptr, slice};
52

63
/// A fixed capacity [`Vec`](https://doc.rust-lang.org/std/vec/struct.Vec.html)
74
///

0 commit comments

Comments
 (0)