From 43d8ea379f46faf92d891055a0c3c5116e3493db Mon Sep 17 00:00:00 2001 From: John Mitchell <startoaster23@gmail.com> Date: Wed, 16 Nov 2022 10:38:51 -0500 Subject: [PATCH] Cargo fmt. --- src/widgets/text_box.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/widgets/text_box.rs b/src/widgets/text_box.rs index cb741e1..f6a157f 100644 --- a/src/widgets/text_box.rs +++ b/src/widgets/text_box.rs @@ -131,12 +131,7 @@ pub fn text_box_render( state.cursor_position = state.graphemes.len(); - set_new_cursor_position( - &mut state, - &font_assets, - &font_mapping, - &style_font, - ); + set_new_cursor_position(&mut state, &font_assets, &font_mapping, &style_font); } } -- GitLab