ran cargo fix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use alloc::borrow::ToOwned;
|
||||
use alloc::vec::Vec;
|
||||
use libm::sqrt;
|
||||
use crate::println;
|
||||
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub enum Line {
|
||||
|
||||
@@ -521,7 +521,7 @@ impl CgComponent for CgDialog {
|
||||
|
||||
#[async_trait]
|
||||
impl CgKeyboardCapture for CgDialog {
|
||||
async fn keyboard_capture(&mut self, break_condition: fn(KeyStroke) -> (KeyStroke, Exit), app: Option<&Widget>) -> Result<(Exit, usize), RenderError> {
|
||||
async fn keyboard_capture(&mut self, break_condition: fn(KeyStroke) -> (KeyStroke, Exit), _app: Option<&Widget>) -> Result<(Exit, usize), RenderError> {
|
||||
loop {
|
||||
let k = break_condition(Stdin::keystroke().await);
|
||||
match k {
|
||||
|
||||
Reference in New Issue
Block a user