From 9d676a94ca0c2a498aa12caeeee91e5e3ccc88cc Mon Sep 17 00:00:00 2001 From: Philipp Gackstatter Date: Wed, 13 Nov 2024 12:39:55 +0100 Subject: [PATCH] chore: Fix docs --- objects/src/accounts/builder/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/objects/src/accounts/builder/mod.rs b/objects/src/accounts/builder/mod.rs index 6a60ab808..2d071a738 100644 --- a/objects/src/accounts/builder/mod.rs +++ b/objects/src/accounts/builder/mod.rs @@ -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. /// @@ -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>(mut self, assets: I) -> Self { self.assets.extend(assets); self