mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 04:29:41 +00:00
Merge pull request #443 from maorit/format_code_collections_vector
format code: format code in `solutions/collections/Vector.md`
This commit is contained in:
@ -129,10 +129,9 @@ fn main() {
|
||||
|
||||
println!("Success!")
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
//Another solution
|
||||
|
||||
```rust,editable
|
||||
fn main() {
|
||||
let mut v = Vec::from([1, 2, 3, 4, 5]);
|
||||
for i in 0..5 {
|
||||
@ -147,7 +146,6 @@ fn main() {
|
||||
|
||||
println!("Success!")
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
5.
|
||||
|
Reference in New Issue
Block a user