gear icon indicating copy to clipboard operation
gear copied to clipboard

Improve documentation and remove unnecessary generics in the userspace

Open StackOverflowExcept1on opened this issue 9 months ago • 0 comments

Problem to Solve

  • some functions such as gstd::exec::system_reserve_gas are re-exported from gcore and when user goes to the documentation, all code examples shows usage of gcore but not gstd
  • replace <E: Encode> with just impl Encode in gstd

Possible Solution

  • https://docs.rs/about/metadata, #[cfg(feature = ...)] #[doc = "..."]
  • not that D: Decode is still useful for msg::send_for_reply_as

Notes

No response

StackOverflowExcept1on avatar May 17 '24 21:05 StackOverflowExcept1on