Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion collections/src/str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ use borsh::{
io::{ErrorKind, Read},
BorshDeserialize, BorshSerialize,
};
#[cfg(any(feature = "borsh", feature = "wincode"))]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI runs with --all-features so this is why it was not picked up.

use core::str::from_utf8;
use {
crate::{TrailingVec, U16PrefixedVec, U32PrefixedVec, U64PrefixedVec, U8PrefixedVec},
core::{
fmt::{Debug, Formatter},
ops::Deref,
str::{from_utf8, from_utf8_unchecked},
str::from_utf8_unchecked,
},
};
#[cfg(feature = "wincode")]
Expand Down
Loading