diff --git a/crates/nu-protocol/src/value/record.rs b/crates/nu-protocol/src/value/record.rs index c3f4590b04..6e5ee2d3a7 100644 --- a/crates/nu-protocol/src/value/record.rs +++ b/crates/nu-protocol/src/value/record.rs @@ -6,8 +6,12 @@ use serde::{Deserialize, Serialize}; #[derive(Debug, Clone, Default, Serialize, Deserialize)] pub struct Record { + /// Don't use this field publicly! + /// + /// Only public as command `rename` is not reimplemented in a sane way yet + /// Using it or making `vals` public will draw shaming by @sholderbach pub cols: Vec, - pub vals: Vec, + vals: Vec, } impl Record {