Skip to content

Commit ec77e3a

Browse files
committed
More
1 parent a5e7f4a commit ec77e3a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

crates/bevy_text/src/undo_2/tests/merge.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ fn merge() {
44
use crate::undo_2::Commands;
55
use crate::undo_2::IterRealized;
66
use crate::undo_2::Merge;
7-
use std::ops::ControlFlow;
7+
use core::ops::ControlFlow;
88
#[derive(Eq, PartialEq, Debug)]
99
enum Command {
1010
A,

crates/bevy_text/src/undo_2/tests/splice.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ fn splice_with_undos() {
159159
do_splice(&mut c);
160160
let v: Vec<_> = c.iter_realized().collect();
161161
assert_eq!(*v, [&E, &D]);
162-
assert_eq!(*c, [D.into(), E.into()])
162+
assert_eq!(*c, [D.into(), E.into()]);
163163
}
164164
{
165165
let mut c = Commands::default();
@@ -179,7 +179,7 @@ fn splice_with_undos() {
179179
do_splice(&mut c);
180180
let v: Vec<_> = c.iter_realized().collect();
181181
assert_eq!(*v, [&E, &E, &D]);
182-
assert_eq!(*c, [D.into(), E.into(), E.into()])
182+
assert_eq!(*c, [D.into(), E.into(), E.into()]);
183183
}
184184
{
185185
let mut c = Commands::default();
@@ -193,6 +193,6 @@ fn splice_with_undos() {
193193
do_splice(&mut c);
194194
let v: Vec<_> = c.iter_realized().collect();
195195
assert_eq!(*v, [&E, &D]);
196-
assert_eq!(*c, [D.into(), E.into()])
196+
assert_eq!(*c, [D.into(), E.into()]);
197197
}
198198
}

crates/bevy_text/src/undo_2/tests/undo_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ fn application() {
3030
}
3131
pub fn undo(&mut self) {
3232
for action in self.command.undo() {
33-
interpret_action(&mut self.text, action)
33+
interpret_action(&mut self.text, action);
3434
}
3535
}
3636
pub fn redo(&mut self) {
3737
for action in self.command.redo() {
38-
interpret_action(&mut self.text, action)
38+
interpret_action(&mut self.text, action);
3939
}
4040
}
4141
}

0 commit comments

Comments
 (0)