forked from extern/nushell
Use slices directly instead of &Vec
(#10328)
Simplifies the signature, makes it more flexible. Detected a few unnecessary allocations in the process.
This commit is contained in:
committed by
GitHub
parent
84c10de864
commit
e90b099622
@ -46,7 +46,7 @@ fn record_to_delimited(
|
||||
}
|
||||
|
||||
fn table_to_delimited(
|
||||
vals: &Vec<Value>,
|
||||
vals: &[Value],
|
||||
span: Span,
|
||||
separator: char,
|
||||
config: &Config,
|
||||
|
Reference in New Issue
Block a user