Idea for @rustlang. Support both postfix and function notation on Trait instance methods:
4u64.sqrt() == sqrt(4u64)
4u64.pow(2) == pow(4u64, 2)
Replying to @EzeFoncubierta
This does work https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=258a8fe65051e6c01a98f313937d9b19 … You need to include the trait name and you may need to manually ref
8:13 AM - 17 Oct 2019
0 replies
0 retweets
8 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.