diff options
Diffstat (limited to 'library/src/base/data.rs')
| -rw-r--r-- | library/src/base/data.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/library/src/base/data.rs b/library/src/base/data.rs index 1199056f..67ef2f2c 100644 --- a/library/src/base/data.rs +++ b/library/src/base/data.rs @@ -81,10 +81,7 @@ fn convert_json(value: serde_json::Value) -> Value { /// Format the user-facing JSON error message. fn format_json_error(error: serde_json::Error) -> String { assert!(error.is_syntax() || error.is_eof()); - format!( - "failed to parse json file: syntax error in line {}", - error.line() - ) + format!("failed to parse json file: syntax error in line {}", error.line()) } /// Read structured data from an XML file. |
