Skip to content

Commit 7d4a235

Browse files
committed
style(beacon_client): rename local variable
1 parent 1203e5c commit 7d4a235

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/clients/beacon/types.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ fn deserialize_number<'de, D>(deserializer: D) -> Result<u32, D::Error>
9999
where
100100
D: serde::Deserializer<'de>,
101101
{
102-
let slot = String::deserialize(deserializer)?;
102+
let value = String::deserialize(deserializer)?;
103103

104-
slot.parse::<u32>().map_err(serde::de::Error::custom)
104+
value.parse::<u32>().map_err(serde::de::Error::custom)
105105
}
106106

107107
impl fmt::Display for BlockId {

0 commit comments

Comments
 (0)