move this
This commit is contained in:
parent
c07e269ddd
commit
f4aaf4020a
@ -8,6 +8,10 @@ pub enum Movement {
|
|||||||
None,
|
None,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for Movement {
|
||||||
|
fn default() -> Self { Self::None }
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct AutoComplete<'a> {
|
pub struct AutoComplete<'a> {
|
||||||
pub i: usize,
|
pub i: usize,
|
||||||
@ -15,10 +19,6 @@ pub struct AutoComplete<'a> {
|
|||||||
pub string: String,
|
pub string: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for Movement {
|
|
||||||
fn default() -> Self { Self::None }
|
|
||||||
}
|
|
||||||
|
|
||||||
impl<'a> Default for AutoComplete<'a> {
|
impl<'a> Default for AutoComplete<'a> {
|
||||||
fn default() -> AutoComplete<'a> {
|
fn default() -> AutoComplete<'a> {
|
||||||
AutoComplete {
|
AutoComplete {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user