Skip to content

Commit

Permalink
Corrected a couple of minor typos (#6910)
Browse files Browse the repository at this point in the history
Co-authored-by: futreall <[email protected]>
  • Loading branch information
sky-coderay and futreall authored Jan 1, 2025
1 parent 9d2d903 commit be34a58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion corelib/src/starknet.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ fn use_system_implicit() implicits(System) {}
/// The `Result` type for a syscall.
pub type SyscallResult<T> = Result<T, Array<felt252>>;

/// Trait for handling syscalls results.
/// Trait for handling syscall results.
pub trait SyscallResultTrait<T> {
/// Unwraps a syscall result, yielding the content of an `Ok`.
///
Expand Down
4 changes: 2 additions & 2 deletions corelib/src/starknet/storage/sub_pointers.cairo
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use super::{Mutable, StorageAsPointer, StoragePointer, StoragePointer0Offset};

/// Similar to storage node, but for structs which are stored sequentially in the storage. In
/// contrast to storage node, the fields of the struct are just offsetted from the base address of
/// the struct.
/// contrast to storage node, the fields of the struct are just at an offset from the base address
/// of the struct.
pub trait SubPointers<T> {
/// The type of the storage pointers, generated for the struct T.
type SubPointersType;
Expand Down

0 comments on commit be34a58

Please sign in to comment.