cargo fmt

This commit is contained in:
Piotr Osiewicz 2023-06-22 17:59:56 +02:00
parent af252888c4
commit b430be5bc6
2 changed files with 3 additions and 5 deletions

View file

@ -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,

View file

@ -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;