Skip to content

Commit a361fa0

Browse files
committed
style: apply cargo fmt formatting
1 parent 4135729 commit a361fa0

File tree

1 file changed

+4
-1
lines changed
  • kclvm/runtime/src/encoding

1 file changed

+4
-1
lines changed

kclvm/runtime/src/encoding/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ pub fn encode_text(value: &str, encoding: Option<String>) -> Result<Vec<u8>> {
1212
let (cow, _, had_errors) = encoding.encode(value);
1313

1414
if had_errors {
15-
bail!("encoding errors occurred while encoding to {}", encoding_name);
15+
bail!(
16+
"encoding errors occurred while encoding to {}",
17+
encoding_name
18+
);
1619
}
1720

1821
Ok(cow.into_owned())

0 commit comments

Comments
 (0)