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
3 changes: 2 additions & 1 deletion src/kv/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ impl<'v> Value<'v> {
}
}

#[cfg(feature = "kv_std")]
#[cfg(feature = "std")]
mod std_support {
use std::borrow::Cow;
use std::rc::Rc;
Expand Down Expand Up @@ -462,6 +462,7 @@ mod std_support {
}
}

#[cfg(feature = "kv_std")]
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.

We may implement this for the non-value-bag Value. But that can be a follow-up.

impl<'v> Value<'v> {
/// Try convert this value into a string.
pub fn to_cow_str(&self) -> Option<Cow<'v, str>> {
Expand Down
Loading