Skip to content

Commit

Permalink
Fix compilation with alloc and experimental-derive (#145)
Browse files Browse the repository at this point in the history
```sh
RUSTFLAGS='--check-cfg=cfg(doc_cfg)' cargo check --features=alloc,experimental-derive
```
  • Loading branch information
ia0 authored May 13, 2024
1 parent 66f3f67 commit a2525a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/max_size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
extern crate alloc;

#[cfg(feature = "alloc")]
use alloc::{rc::Rc, sync::Arc};
use alloc::{boxed::Box, rc::Rc, sync::Arc};

use crate::varint::varint_max;
use core::{
Expand Down

0 comments on commit a2525a6

Please sign in to comment.