Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comments #1590

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frameworks/moveos-stdlib/doc/address.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Largest possible address

## Function `zero`

all zeros addreess
all zeros address


<pre><code><b>public</b> <b>fun</b> <a href="address.md#0x2_address_zero">zero</a>(): <b>address</b>
Expand Down
2 changes: 1 addition & 1 deletion frameworks/moveos-stdlib/doc/big_vector.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ This operation will cost more gas when it adds new bucket.
## Function `pop_back`

Pop an element from the end of vector <code>v</code>. It doesn't shrink the buckets even if they're empty.
Call <code>shrink_to_fit</code> explicity to deallocate empty buckets.
Call <code>shrink_to_fit</code> explicitly to deallocate empty buckets.
Aborts if <code>v</code> is empty.


Expand Down
2 changes: 1 addition & 1 deletion frameworks/moveos-stdlib/sources/address.move
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module moveos_std::address {
MAX
}

/// all zeros addreess
/// all zeros address
public fun zero(): address {
ZERO
}
Expand Down
2 changes: 1 addition & 1 deletion frameworks/moveos-stdlib/sources/big_vector.move
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ module moveos_std::big_vector {
}

/// Pop an element from the end of vector `v`. It doesn't shrink the buckets even if they're empty.
/// Call `shrink_to_fit` explicity to deallocate empty buckets.
/// Call `shrink_to_fit` explicitly to deallocate empty buckets.
/// Aborts if `v` is empty.
public fun pop_back<T: store>(v: &mut BigVector<T>): T {
assert!(!is_empty(v), ErrorVectorEmpty);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

#[test_only]
/// This test module is used to test the trasfer entry functions
/// This test module is used to test the transfer entry functions
module rooch_framework::transfer_test{

use std::option;
Expand Down
Loading