Skip to content

Commit

Permalink
Fix no_alloc
Browse files Browse the repository at this point in the history
  • Loading branch information
apanda committed Jun 4, 2024
1 parent 5598109 commit 7490ed5
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions treap_non_random/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ repository="https://github.com/apanda/cvm"
authors = ["Aurojit Panda <[email protected]>"]

[dependencies]
alloc_counter = "0.0.4"
2 changes: 2 additions & 0 deletions treap_non_random/src/treap_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ use std::{
mem,
};

use alloc_counter::no_alloc;

use crate::data::Element;
use std::convert::From;

Expand Down

0 comments on commit 7490ed5

Please sign in to comment.