chore: add rustfmt config

This commit is contained in:
Vukašin Vojinović 2026-04-30 16:07:25 +02:00 committed by Ashley Wulber
parent 9abc4d483b
commit 9c2a86a8f4
98 changed files with 419 additions and 540 deletions

View file

@ -2,7 +2,8 @@
// Copyright 2023 System76 <info@system76.com>
// SPDX-License-Identifier: MIT
use super::{cursor::Cursor, value::Value};
use super::cursor::Cursor;
use super::value::Value;
pub struct Editor<'a> {
value: &'a mut Value,

View file

@ -28,18 +28,14 @@ use iced_core::overlay::Group;
use iced_core::renderer::{self, Renderer as CoreRenderer};
use iced_core::text::{self, Affinity, Paragraph, Renderer, Text};
use iced_core::time::{Duration, Instant};
use iced_core::touch;
use iced_core::widget::Id;
use iced_core::widget::operation::{self, Operation};
use iced_core::widget::tree::{self, Tree};
use iced_core::window;
use iced_core::{Background, alignment};
use iced_core::{Border, Shadow, keyboard};
use iced_core::{
Clipboard, Color, Element, Layout, Length, Padding, Pixels, Point, Rectangle, Shell, Size,
Vector, Widget,
Background, Border, Clipboard, Color, Element, Layout, Length, Padding, Pixels, Point,
Rectangle, Shadow, Shell, Size, Vector, Widget, alignment, keyboard, layout, overlay, touch,
window,
};
use iced_core::{layout, overlay};
use iced_runtime::{Action, Task, task};
thread_local! {

View file

@ -4,7 +4,8 @@
//! Change the appearance of a text input.
use iced_core::{Background, Color, border::Radius};
use iced_core::border::Radius;
use iced_core::{Background, Color};
/// The appearance of a text input.
#[derive(Debug, Clone, Copy)]