You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-12-22 22:51:12 +02:00
Fix minor inconsistencies and naming issues (#2563)
This commit is contained in:
committed by
GitHub
parent
58bf01f1ef
commit
9e5c318a57
@@ -10,7 +10,7 @@ A slice gives you a view into a larger collection:
|
||||
|
||||
```rust,editable
|
||||
fn main() {
|
||||
let mut a: [i32; 6] = [10, 20, 30, 40, 50, 60];
|
||||
let a: [i32; 6] = [10, 20, 30, 40, 50, 60];
|
||||
println!("a: {a:?}");
|
||||
|
||||
let s: &[i32] = &a[2..4];
|
||||
|
||||
Reference in New Issue
Block a user