3 ms·
A lot of the changes for 0.6 are removing keywords from the grammar. In this case, the `static` keyword has been removed, so there must be another way to tell i
by metajack 14y ago
A lot of the changes for 0.6 are removing keywords from the grammar. In this case, the `static` keyword has been removed, so there must be another way to tell if a method is static.
Another reason might be so that self can be passed in a way the programmer prefers. Usually this appears to be `&self`, but it can also be passed in other ways.
Disclaimer: I work for Mozilla on Servo, and am still getting fully up to speed on Rust.
- ksec 14y agooff topic: Any update on Servo? And its license? ( I hope its not MPL and instead Rust like MIT license and the Apache License )
- steveklabnik 14y agoThere's a ticket for that: https://github.com/mozilla/servo/issues/45 https://github.com/mozilla/servo/issues/45
- mcpherrinm 14y agoWhat apprehensions about the MPL do you have? It seems to me you can use MPL (2.0, at least) code in everything from GPL projects to proprietary software.
- felixmar 14y agoSmall correction: The static keyword has not been removed. It takes the place of the const keyword which has been removed.