From e0f5fe53254b1e0baf7760a249c9ee7215ccd892 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Mon, 28 Feb 2022 11:44:11 +0200 Subject: [PATCH] docs(core): complete unfinished sentence in block comment fixes #961 --- ethers-core/src/types/block.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ethers-core/src/types/block.rs b/ethers-core/src/types/block.rs index d3bed9c3..61c266fc 100644 --- a/ethers-core/src/types/block.rs +++ b/ethers-core/src/types/block.rs @@ -4,7 +4,8 @@ use serde::{ser::SerializeStruct, Deserialize, Deserializer, Serialize, Serializ use std::str::FromStr; /// The block type returned from RPC calls. -/// This is generic over a `TX` type which will be either the hash or the +/// This is generic over a `TX` type which will be either the hash or the full transaction, +/// i.e. `Block` or Block`. #[derive(Debug, Default, Clone, PartialEq, Deserialize, Serialize)] pub struct Block { /// Hash of the block