Skip to content

Commit

Permalink
max => limit (#1895)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqiangxu authored Sep 25, 2023
1 parent 27631fd commit 86eb6fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file added fvm/src/.DS_Store
Binary file not shown.
8 changes: 4 additions & 4 deletions ipld/amt/src/amt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ where
///
/// The index in the amt is a `u64` and the value is the generic parameter `V` as defined
/// in the Amt. If `start_at` is provided traversal begins at the first index >= `start_at`,
/// otherwise it begins from the first element. If `max` is provided, traversal will stop after
/// `max` elements have been traversed. Returns a tuple describing the number of elements
/// otherwise it begins from the first element. If `limit` is provided, traversal will stop after
/// `limit` elements have been traversed. Returns a tuple describing the number of elements
/// iterated over and optionally the index of the next element in the AMT if more elements
/// remain.
///
Expand Down Expand Up @@ -444,8 +444,8 @@ where
///
/// The index in the amt is a `u64` and the value is the generic parameter `V` as defined
/// in the Amt. If `start_at` is provided traversal begins at the first index >= `start_at`,
/// otherwise it begins from the first element. If `max` is provided, traversal will stop after
/// `max` elements have been traversed. Returns a tuple describing the number of elements
/// otherwise it begins from the first element. If `limit` is provided, traversal will stop after
/// `limit` elements have been traversed. Returns a tuple describing the number of elements
/// iterated over and optionally the index of the next element in the AMT if more elements
/// remain.
pub fn for_each_while_ranged<F>(
Expand Down

0 comments on commit 86eb6fb

Please sign in to comment.