When I was testing something out with ion-schema-rust, I saw that the error message said "Unsupported Ion Schema version: ${it.stringValue()}"—this changes it to use format! instead of Kotlin string interpolation so that the message will be like "Unsupported Ion Schema version: $ion_schema_0_1"
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
None
Description of changes:
When I was testing something out with
ion-schema-rust
, I saw that the error message said "Unsupported Ion Schema version: ${it.stringValue()}"—this changes it to useformat!
instead of Kotlin string interpolation so that the message will be like "Unsupported Ion Schema version: $ion_schema_0_1"By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.