Skip to content

Commit

Permalink
remove const_panic dependency
Browse files Browse the repository at this point in the history
Resolves #75
  • Loading branch information
Victor committed Jan 19, 2023
1 parent 6ef62dd commit 2afc6c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ringbuffer"
version = "0.11.1"
version = "0.12.0"
authors = [
"Victor Roest <[email protected]>",
"Jonathan Dönszelmann <[email protected]>",
Expand All @@ -13,9 +13,6 @@ keywords = ["ring", "cyclic", "circular", "buffer", "no-std"]
categories = ["data-structures"]
license = "MIT"

[dependencies]
const_panic = "0.2"

[dev-dependencies]
criterion = "0.1.2"

Expand Down
2 changes: 1 addition & 1 deletion src/ringbuffer_trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ pub trait RingBufferRead<T>: RingBuffer<T> {
/// for every different index passed in. See the exact requirements
/// in the safety comment on the next function of the mutable Iterator
/// implementation, since these safety guarantees are necessary for
/// [`iter_mut`] to work
/// iter_mut to work
pub unsafe trait RingBufferExt<T>:
RingBuffer<T>
+ RingBufferRead<T>
Expand Down

0 comments on commit 2afc6c2

Please sign in to comment.