Skip to content

Commit

Permalink
fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristófer R committed Mar 23, 2024
1 parent f05265f commit f71b5ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ impl eframe::App for TemplateApp {
&& text_to_insert != "\r"
{
self.text
.insert_text(&text_to_insert, self.cursor.ccursor.index);
.insert_text(text_to_insert, self.cursor.ccursor.index);

Some(self.cursor.ccursor + text_to_insert.len())
} else {
Expand Down

0 comments on commit f71b5ba

Please sign in to comment.