From 3f16466b3ae36ad7f4b4eed75aabff74a145830e Mon Sep 17 00:00:00 2001 From: trivernis Date: Wed, 5 Oct 2022 14:02:18 +0200 Subject: [PATCH] Fix RawValue having only private fields --- Cargo.toml | 2 +- src/into_value.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 888982c..3f33967 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "embed-nu" -version = "0.2.3" +version = "0.2.4" edition = "2021" license = "Apache-2.0" repository = "https://github.com/Trivernis/embed-nu" diff --git a/src/into_value.rs b/src/into_value.rs index 52c7db6..8f292f2 100644 --- a/src/into_value.rs +++ b/src/into_value.rs @@ -3,7 +3,8 @@ use rusty_value::{Fields, HashableValue, RustyValue}; use crate::utils::NewEmpty; -pub struct RawValue(Value); +/// A helper struct to allow IntoValue operations for nu values +pub struct RawValue(pub Value); /// Converts the given type into a value /// This trait is implemented for all types that