mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 02:48:34 +00:00
cargo fmt
This commit is contained in:
parent
af252888c4
commit
b430be5bc6
2 changed files with 3 additions and 5 deletions
|
@ -12,9 +12,7 @@ use crate::{
|
|||
scene::{self, Border, CursorRegion, Quad},
|
||||
AnyElement, Element, LayoutContext, SceneBuilder, SizeConstraint, View, ViewContext,
|
||||
};
|
||||
use schemars::{
|
||||
JsonSchema,
|
||||
};
|
||||
use schemars::JsonSchema;
|
||||
use serde::Deserialize;
|
||||
use serde_json::json;
|
||||
|
||||
|
@ -335,7 +333,6 @@ impl ToJson for ContainerStyle {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
#[derive(Clone, Copy, Debug, Default, JsonSchema)]
|
||||
pub struct Margin {
|
||||
pub top: f32,
|
||||
|
|
|
@ -4,7 +4,8 @@ use collections::BTreeMap;
|
|||
use gpui::{keymap_matcher::Binding, AppContext};
|
||||
use schemars::{
|
||||
gen::{SchemaGenerator, SchemaSettings},
|
||||
schema::{InstanceType, Schema, SchemaObject, SingleOrVec, SubschemaValidation}, JsonSchema,
|
||||
schema::{InstanceType, Schema, SchemaObject, SingleOrVec, SubschemaValidation},
|
||||
JsonSchema,
|
||||
};
|
||||
use serde::Deserialize;
|
||||
use serde_json::Value;
|
||||
|
|
Loading…
Reference in a new issue