🚨 Remove extra "mut" modifiers

This commit is contained in:
Dima Pristupa 2021-10-25 19:11:03 +03:00 committed by Taiki Endo
parent a38c701b9e
commit bd3b893818
1 changed files with 2 additions and 2 deletions

View File

@ -584,8 +584,8 @@ impl Test {
}
pub fn main() {
let mut test1 = Test::new("test1");
let mut test2 = Test::new("test2");
let test1 = Test::new("test1");
let test2 = Test::new("test2");
println!("a: {}, b: {}",test1.as_ref().a(), test1.as_ref().b());
println!("a: {}, b: {}",test2.as_ref().a(), test2.as_ref().b());