Skip to content

Commit

Permalink
chore: Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Nov 13, 2024
1 parent bbd3ced commit 9d676a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions objects/src/accounts/builder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use crate::{
///
/// This will build a valid new account with these properties:
/// - An empty [`AssetVault`].
/// - The nonce set to [`ZERO`].
/// - The nonce set to [`Felt::ZERO`].
/// - A seed which results in an [`AccountId`] valid for the configured account type and storage
/// mode.
///
Expand Down Expand Up @@ -182,7 +182,8 @@ impl AccountBuilder {
impl AccountBuilder {
/// Adds all the assets to the account's [`AssetVault`]. This method is optional.
///
/// Must only be called when nonce is non-[`ZERO`] since new accounts must have an empty vault.
/// Must only be called when nonce is non-[`Felt::ZERO`] since new accounts must have an empty
/// vault.
pub fn with_assets<I: IntoIterator<Item = Asset>>(mut self, assets: I) -> Self {
self.assets.extend(assets);
self
Expand Down

0 comments on commit 9d676a9

Please sign in to comment.