mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix fmt warnings
This commit is contained in:
parent
661940f728
commit
af08c55ebf
@ -1,4 +1,4 @@
|
||||
use crate::util::is_newline;
|
||||
use crate::{document::InsertExt, util::is_newline};
|
||||
use lib_ot::{
|
||||
core::{DeltaBuilder, DeltaIter, NEW_LINE},
|
||||
rich_text::{
|
||||
@ -10,7 +10,6 @@ use lib_ot::{
|
||||
RichTextDelta,
|
||||
},
|
||||
};
|
||||
use crate::document::InsertExt;
|
||||
|
||||
pub struct PreserveBlockFormatOnInsert {}
|
||||
impl InsertExt for PreserveBlockFormatOnInsert {
|
||||
|
@ -1,9 +1,8 @@
|
||||
use crate::util::is_newline;
|
||||
use crate::{document::InsertExt, util::is_newline};
|
||||
use lib_ot::{
|
||||
core::{CharMetric, DeltaBuilder, DeltaIter, NEW_LINE},
|
||||
rich_text::{RichTextAttributeKey, RichTextAttributes, RichTextDelta},
|
||||
};
|
||||
use crate::document::InsertExt;
|
||||
|
||||
pub struct ResetLineFormatOnNewLine {}
|
||||
impl InsertExt for ResetLineFormatOnNewLine {
|
||||
|
Loading…
Reference in New Issue
Block a user