Skip to content

Commit

Permalink
Update SRC3 inline docs from errors found in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bitzoic committed Nov 3, 2023
1 parent f1c99af commit 765a554
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions standards/src_3/src/src_3.sw
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ abi SRC3 {
/// ```sway
/// use src3::SRC3;
///
/// fn foo(contract: ContractId) {
/// fn foo(contract_id: ContractId) {
/// let contract_abi = abi(SR3, contract);
/// contract_abi.mint(Identity::ContractId(this_contract()), ZERO_B256, 100);
/// contract_abi.mint(Identity::ContractId(contract_id), ZERO_B256, 100);
/// }
/// ```
#[storage(read, write)]
Expand All @@ -39,12 +39,12 @@ abi SRC3 {
/// ```sway
/// use src3::SRC3;
///
/// fn foo(contract: ContractId, asset_id: AssetId) {
/// let contract_abi = abi(SR3, contract);
/// fn foo(contract_id: ContractId, asset_id: AssetId) {
/// let contract_abi = abi(SR3, contract_id);
/// contract_abi {
/// gas: 10000,
/// coins: 100,
/// asset_id: AssetId,
/// asset_id: asset_id,
/// }.burn(ZERO_B256, 100);
/// }
/// ```
Expand Down

0 comments on commit 765a554

Please sign in to comment.