wrap up the new mut check

This commit is contained in:
Alexander Medvednikov 2019-07-25 14:13:35 +02:00
parent ceb0139329
commit 2ac579ca0a
5 changed files with 5 additions and 3 deletions

View file

@ -109,7 +109,7 @@ fn test_repeat() {
assert aa[9] == f32(1.1)
}
{
mut aa := [f64(1.1) ; 10]
aa := [f64(1.1) ; 10]
assert aa[0] == f64(1.1)
assert aa[5] == f64(1.1)
assert aa[9] == f64(1.1)