substrate-collectables-workshop icon indicating copy to clipboard operation
substrate-collectables-workshop copied to clipboard

Explain <T as system::Trait>...

Open shawntabrizi opened this issue 6 years ago • 2 comments

https://doc.rust-lang.org/book/ch19-03-advanced-traits.html#fully-qualified-syntax-for-disambiguation-calling-methods-with-the-same-name

shawntabrizi avatar Feb 04 '19 17:02 shawntabrizi

Hey @shawntabrizi I'd like to tackle this in the context the last couple of points of this blog series thingamajiggy - https://medium.com/@yjkim_44736/dumb-rust-questions-of-a-js-developer-building-substrate-runtimes-substrate-kitties-workshop-7ef72621059a

Currently re-reading the rust book - will follow up with a draft here.

pmespresso avatar Mar 14 '19 15:03 pmespresso

@yjkimjunior sounds awesome :)

Note that this would probably be "extra" learning material, so feel free to go a little deep and out of context of the substrate kitties module. It will live likely somewhere at the end of one of the sections

shawntabrizi avatar Mar 14 '19 20:03 shawntabrizi