Skip to content

Commit

Permalink
build: fix no-std build
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTMjugador committed Sep 17, 2023
1 parent 320ba15 commit d5fcfcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lz77.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use alloc::vec::Vec;
use alloc::{boxed::Box, vec::Vec};
use core::cmp;

use crate::{
Expand Down
1 change: 1 addition & 0 deletions src/util.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use alloc::boxed::Box;
#[cfg(feature = "std")]
use std::io::{Error, ErrorKind, Read};

Expand Down

0 comments on commit d5fcfcc

Please sign in to comment.