Skip to content

Commit

Permalink
docs: update modify a vector
Browse files Browse the repository at this point in the history
  • Loading branch information
lynhan318 authored Jan 2, 2025
1 parent e88edd9 commit 6b78cdf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pages/Basic_Move_Programming/sui_move_data_types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -436,11 +436,11 @@ Note: `<u64>` không bắc buộc phải có nếu như đã có các phần t


```rust
let v = vector::empty();
let mut v = vector::empty();

v::push_back(&mut v, 5);
v::push_back(&mut v, 6);
v::push_back(&mut v, 6);
vector::push_back(&mut v, 5);
vector::push_back(&mut v, 6);
vector::push_back(&mut v, 6);
```

![](../assets/Basic_Move_Programming_image/AI_test_move.png)
Expand Down Expand Up @@ -774,4 +774,4 @@ debug::print(&absent);
![](../assets/Basic_Move_Programming_image/option_example.png)




0 comments on commit 6b78cdf

Please sign in to comment.