We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5808392 commit 7bc1200Copy full SHA for 7bc1200
1 file changed
src/kv/value.rs
@@ -415,7 +415,7 @@ impl<'v> Value<'v> {
415
}
416
417
418
-#[cfg(feature = "kv_std")]
+#[cfg(all(feature = "kv", feature = "std"))]
419
mod std_support {
420
use std::borrow::Cow;
421
use std::rc::Rc;
@@ -462,6 +462,7 @@ mod std_support {
462
463
464
465
+ #[cfg(feature = "kv_std")]
466
impl<'v> Value<'v> {
467
/// Try convert this value into a string.
468
pub fn to_cow_str(&self) -> Option<Cow<'v, str>> {
0 commit comments