Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
curlpipe committed Sep 28, 2024
1 parent e99596e commit 22f004a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 3 additions & 5 deletions src/editor/mod.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
use crate::config::Config;
use crate::error::{OxError, Result};
use crate::ui::{size, Feedback, Terminal};
use crossterm::{
event::{Event as CEvent, KeyCode as KCode, KeyModifiers as KMod, MouseEventKind},
};
use crossterm::event::{Event as CEvent, KeyCode as KCode, KeyModifiers as KMod, MouseEventKind};
use kaolinite::event::Error as KError;
use kaolinite::Document;
use mlua::Lua;
Expand All @@ -12,9 +10,9 @@ use std::time::Instant;
use synoptic::Highlighter;

mod cursor;
mod mouse;
mod interface;
mod editing;
mod interface;
mod mouse;
mod scanning;

/// For managing all editing and rendering of cactus
Expand Down
4 changes: 1 addition & 3 deletions src/editor/scanning.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
use crate::error::Result;
use crate::ui::size;
use crossterm::{
event::{read, Event as CEvent, KeyCode as KCode, KeyModifiers as KMod},
};
use crossterm::event::{read, Event as CEvent, KeyCode as KCode, KeyModifiers as KMod};
use kaolinite::utils::{Loc, Size};
use std::io::Write;

Expand Down

0 comments on commit 22f004a

Please sign in to comment.