Learning Rust: the easiest way to check the type of something is to generate a compiler error =D https://gist.github.com/jvns/7751946
-
-
@avibryant@b0rk Works in other typed languages, like C++, hacky, but you gotta do what you gotta do... -
.
@pphaneuf@avibryant I've now been told you can actually write a `type_of` function in Rust! You can see it here: http://jvns.ca/blog/2013/12/02/types-in-rust/ …
End of conversation
New conversation -
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.