ran cargo fix

This commit is contained in:
FantasyPvP
2024-11-23 21:38:11 +00:00
parent 39d9b949e9
commit 8f3a96c282
12 changed files with 30 additions and 31 deletions
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {