diff --git a/ethers-core/src/types/log.rs b/ethers-core/src/types/log.rs index c788b86d..c9288646 100644 --- a/ethers-core/src/types/log.rs +++ b/ethers-core/src/types/log.rs @@ -9,7 +9,7 @@ use std::ops::{Range, RangeFrom, RangeTo}; /// A log produced by a transaction. #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] pub struct Log { - /// H160 + /// H160. the contract that emitted the log pub address: Address, /// topics: Array of 0 to 4 32 Bytes of indexed log arguments. @@ -41,7 +41,7 @@ pub struct Log { #[serde(skip_serializing_if = "Option::is_none")] pub transaction_index: Option, - /// Integer of the log index position in the block. Noe if it's a pending log. + /// Integer of the log index position in the block. None if it's a pending log. #[serde(rename = "logIndex")] #[serde(skip_serializing_if = "Option::is_none")] pub log_index: Option, @@ -58,7 +58,7 @@ pub struct Log { pub log_type: Option, /// True when the log was removed, due to a chain reorganization. - /// false if its a valid log. + /// false if it's a valid log. #[serde(skip_serializing_if = "Option::is_none")] pub removed: Option, }