We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccf37f1 commit eb52f1bCopy full SHA for eb52f1b
rust/src/example_iteration.rs
@@ -61,7 +61,7 @@ impl std::str::FromStr for CompressionType {
61
"LZ4" => Ok(CompressionType::LZ4),
62
"GZIP" => Ok(CompressionType::Gzip),
63
"ZLIB" => Ok(CompressionType::Zlib),
64
- _ => Err("{input} unimplemented".to_string()),
+ _ => Err(format!("{input} unimplemented")),
65
}
66
67
0 commit comments