Repair mistaken usage of String instead of Symbol

This commit is contained in:
Tony Garnock-Jones 2020-05-18 16:42:34 +02:00
parent a099fc9a3b
commit 2a85e53acc
1 changed files with 1 additions and 1 deletions

View File

@ -509,7 +509,7 @@ impl<N: NestedValue<D>, D: Domain> Value<N, D> {
Value::SignedInteger(i) => Value::SignedInteger(i.clone()),
Value::String(ref s) => Value::String(s.clone()),
Value::ByteString(ref v) => Value::ByteString(v.clone()),
Value::Symbol(ref v) => Value::String(v.clone()),
Value::Symbol(ref v) => Value::Symbol(v.clone()),
Value::Record((ref l, ref fs)) =>
Value::Record((N::boxunwrap(l).copy_via::<M>().boxwrap(), fs.iter().map(|a| a.copy_via()).collect())),
Value::Sequence(ref v) => Value::Sequence(v.iter().map(|a| a.copy_via()).collect()),