Skip to content

Commit 962e30b

Browse files
authored
fix: apply cargo fmt to fix CI formatting check (#20)
1 parent fd3b74e commit 962e30b

57 files changed

Lines changed: 4413 additions & 5605 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

crates/eure-cli/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use clap::{Args, Parser, Subcommand, ValueEnum};
2-
use eure_fmt::unformat::{unformat, unformat_with_seed};
3-
use eure_json::{Config as JsonConfig, document_to_value};
42
use eure::data_model::VariantRepr;
53
use eure::document::cst_to_document;
64
use eure::tree::{inspect_cst, write_cst};
5+
use eure_fmt::unformat::{unformat, unformat_with_seed};
6+
use eure_json::{Config as JsonConfig, document_to_value};
77
use std::fs;
88
use std::io::{self, Read};
99

@@ -280,4 +280,4 @@ fn handle_from_json(_args: FromJson) {
280280
eprintln!("The reverse conversion API is currently under development.");
281281
eprintln!("You can only convert Eure → JSON using `eure to-json`.");
282282
std::process::exit(1);
283-
}
283+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

crates/eure-json-schema/src/eure_to_json_schema.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ fn convert_schema_content(
206206
SchemaNodeContent::Literal(val) => Ok(JsonSchema::Const(ConstSchema {
207207
value: value_to_json(val)?,
208208
metadata: json_metadata,
209-
}))
209+
})),
210210
}
211211
}
212212

crates/eure-schema/tests/document_to_schema_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2564,4 +2564,3 @@ $types.0 = `text`
25642564
ConversionError::InvalidTypeName(ObjectKey::Number(BigInt::from(0)))
25652565
);
25662566
}
2567-

0 commit comments

Comments
 (0)