Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-t committed May 6, 2024
1 parent 34972bc commit 093392b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvars-console-fyrox/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ impl FyroxConsole {
// Note that it might still be better to read the text from the UI as the souce of truth
// because right now the console doesn't know about any text we set from code on init.
if let Some(TextMessage::Text(text)) = msg.data() {
self.console.prompt.clone_from(&text);
self.console.prompt.clone_from(text);
}

match msg.data() {
Expand Down

0 comments on commit 093392b

Please sign in to comment.