aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/json/json_file.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/json/json_file.rs')
-rw-r--r--crates/shirabe/src/json/json_file.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/json/json_file.rs b/crates/shirabe/src/json/json_file.rs
index 652f1d89..78ed76d7 100644
--- a/crates/shirabe/src/json/json_file.rs
+++ b/crates/shirabe/src/json/json_file.rs
@@ -516,7 +516,7 @@ impl JsonFile {
/// @throws \UnexpectedValueException
/// @throws ParsingException
/// @return bool true on success
- pub(crate) fn validate_syntax(json: &str, file: Option<&str>) -> anyhow::Result<bool> {
+ fn validate_syntax(json: &str, file: Option<&str>) -> anyhow::Result<bool> {
// TODO(php-semantics): make json_decode() returns an error object with details.
let error = match serde_json::from_str::<serde_json::Value>(json) {
Ok(_) => {