style: Fix whitespace in generic.md

添加了空格,与上下文风格保持一致
pull/1390/head
Cleaf-y 9 months ago committed by GitHub
parent 3ed8cf33c5
commit e7837e2fca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -304,7 +304,7 @@ fn main() {
let arr: [i32; 3] = [1, 2, 3]; let arr: [i32; 3] = [1, 2, 3];
display_array(arr); display_array(arr);
let arr: [i32;2] = [1,2]; let arr: [i32; 2] = [1, 2];
display_array(arr); display_array(arr);
} }
``` ```
@ -332,7 +332,7 @@ fn main() {
let arr: [i32; 3] = [1, 2, 3]; let arr: [i32; 3] = [1, 2, 3];
display_array(&arr); display_array(&arr);
let arr: [i32;2] = [1,2]; let arr: [i32; 2] = [1, 2];
display_array(&arr); display_array(&arr);
} }
``` ```
@ -349,7 +349,7 @@ fn main() {
let arr: [i32; 3] = [1, 2, 3]; let arr: [i32; 3] = [1, 2, 3];
display_array(&arr); display_array(&arr);
let arr: [i32;2] = [1,2]; let arr: [i32; 2] = [1, 2];
display_array(&arr); display_array(&arr);
} }
``` ```

Loading…
Cancel
Save