Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/abi_encode/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl Encoder {
data: Bytes,
timestamp: U256,
) -> Vec<u8> {
// set the data to arrary and concat it directly
// set the data to array and concat it directly
let tx_hash_data_encode_packed = [
&target.to_vec(),
&value.to_be_bytes_vec(),
Expand Down
2 changes: 1 addition & 1 deletion examples/encoding_and_hashing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl Hasher {
data: Bytes,
timestamp: U256,
) -> FixedBytes<32> {
// set the data to arrary and concat it directly
// set the data to array and concat it directly
let tx_hash_data_encode_packed = [
&target.to_vec(),
&value.to_be_bytes_vec(),
Expand Down
2 changes: 1 addition & 1 deletion stylus-sdk/src/methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

//! Types relating to method definitions.

/// State mutability of a contract fuction. This is currently used for checking whether contracts
/// State mutability of a contract function. This is currently used for checking whether contracts
/// are allowed to override a function from another contract they inherit from.
/// Users should not need this type outside of proc macros.
#[derive(Debug, Clone, Copy)]
Expand Down