stellar / rs-stellar-xdr

Rust lib for Stellar XDR.
Apache License 2.0
20 stars 27 forks source link

Add back conversions from String to ScSymbol #330

Closed leighmcculloch closed 11 months ago

leighmcculloch commented 11 months ago

What

Add back conversions from String to ScSymbol.

Why

In #329 I removed conversions from String<>ScVal::Symbol/ScSymbol due to ambiguity because of ScVal::String also being a string type.

However, I should have left the String<>ScSymbol conversions in place, because they aren't ambiguous.