From 18b8f127e3d9939ec337e40469b9049f11f7b35b Mon Sep 17 00:00:00 2001 From: Nenad Date: Sun, 2 Jun 2024 10:16:22 +0200 Subject: [PATCH] Revert comment format changes --- listings/getting-started/errors/src/vault_errors.cairo | 2 +- listings/getting-started/variables/src/global_variables.cairo | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/listings/getting-started/errors/src/vault_errors.cairo b/listings/getting-started/errors/src/vault_errors.cairo index b5d6d5f3..4f34b951 100644 --- a/listings/getting-started/errors/src/vault_errors.cairo +++ b/listings/getting-started/errors/src/vault_errors.cairo @@ -7,7 +7,7 @@ pub trait IVaultErrorsExample { // ANCHOR: contract pub mod VaultErrors { pub const INSUFFICIENT_BALANCE: felt252 = 'insufficient_balance'; - // you can define more errors here +// you can define more errors here } #[starknet::contract] diff --git a/listings/getting-started/variables/src/global_variables.cairo b/listings/getting-started/variables/src/global_variables.cairo index 1e808e50..1389bdaf 100644 --- a/listings/getting-started/variables/src/global_variables.cairo +++ b/listings/getting-started/variables/src/global_variables.cairo @@ -17,7 +17,7 @@ pub mod GlobalExample { fn foo(ref self: ContractState) { // Call the get_caller_address function to get the sender address let _caller = get_caller_address(); - // ... + // ... } } } @@ -34,6 +34,6 @@ mod test { GlobalExample::TEST_CLASS_HASH.try_into().unwrap(), 0, array![].span(), false ) .unwrap_syscall(); - // Not much to test + // Not much to test } }