Skip to content

Commit

Permalink
Revert comment format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenad committed Jun 2, 2024
1 parent 2cdc706 commit b725695
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion listings/getting-started/errors/src/vault_errors.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub trait IVaultErrorsExample<TContractState> {
// 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]
Expand Down
4 changes: 2 additions & 2 deletions listings/getting-started/variables/src/global_variables.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -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();
// ...
// ...
}
}
}
Expand All @@ -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
}
}
4 changes: 2 additions & 2 deletions po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -1640,7 +1640,7 @@ msgid ""
"```rust\n"
"mod VaultErrors {\n"
" const INSUFFICIENT_BALANCE: felt252 = 'insufficient_balance';\n"
" // you can define more errors here\n"
"// you can define more errors here\n"
"}\n"
"\n"
"#[starknet::interface]\n"
Expand Down Expand Up @@ -1687,7 +1687,7 @@ msgstr ""
"```rust\n"
"mod VaultErrors {\n"
" const INSUFFICIENT_BALANCE: felt252 = 'insufficient_balance';\n"
" // you can define more errors here\n"
"// you can define more errors here\n"
"}\n"
"\n"
"#[starknet::interface]\n"
Expand Down
4 changes: 2 additions & 2 deletions po/zh-cn.po
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ msgid ""
"```rust\n"
"mod VaultErrors {\n"
" const INSUFFICIENT_BALANCE: felt252 = 'insufficient_balance';\n"
" // you can define more errors here\n"
"// you can define more errors here\n"
"}\n"
"\n"
"#[starknet::interface]\n"
Expand Down Expand Up @@ -1592,7 +1592,7 @@ msgstr ""
"```rust\n"
"mod VaultErrors {\n"
" const INSUFFICIENT_BALANCE: felt252 = 'insufficient_balance';\n"
" // you can define more errors here\n"
"// you can define more errors here\n"
"}\n"
"\n"
"#[starknet::interface]\n"
Expand Down

0 comments on commit b725695

Please sign in to comment.