gear
gear copied to clipboard
Improve documentation and remove unnecessary generics in the userspace
Problem to Solve
- some functions such as
gstd::exec::system_reserve_gas
are re-exported fromgcore
and when user goes to the documentation, all code examples shows usage ofgcore
but notgstd
- replace
<E: Encode>
with justimpl Encode
ingstd
Possible Solution
- https://docs.rs/about/metadata,
#[cfg(feature = ...)] #[doc = "..."]
- not that
D: Decode
is still useful formsg::send_for_reply_as
Notes
No response