[Bug] LogData::topics_mut_unchecked
and LogData::topics_mut
are useless without DerefMut
#775
Labels
bug
Something isn't working
Component
primitives
What version of Alloy are you on?
alloy-primitives v0.8.8
Operating System
Linux
Describe the bug
main.rs
cargo.toml
This gives error:
I have no idea when
LogData::topics_mut_unchecked
andLogData::topics_mut
should be used withoutDerefMut
implemented. It looks like it is by design not to implementDerefMut
but it makes it impossible to call these two functions (and other functions taking&mut self
).The text was updated successfully, but these errors were encountered: