Skip to content

Commit

Permalink
fix(test): remove unnecessary &mut in some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
graelo committed Nov 7, 2022
1 parent 6f2f767 commit 735d6c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/vc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ Barcelona https://en.wikipedia.org/wiki/Barcelona - ";
let alphabet = alphabet::Alphabet("abcd".to_string());
let reverse = true;
let unique_hint = false;
let mut model = textbuf::Model::new(
let model = textbuf::Model::new(
&lines,
&alphabet,
use_all_patterns,
Expand All @@ -1026,7 +1026,7 @@ Barcelona https://en.wikipedia.org/wiki/Barcelona - ";
let hint_style = None;

let ui = ViewController::new(
&mut model,
&model,
wrap_around,
default_output_destination,
&rendering_colors,
Expand Down

0 comments on commit 735d6c0

Please sign in to comment.