Rust: Difference between revisions

From Rixort Wiki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:


* Rust style is to indent with four spaces, not a tab.
* Rust style is to indent with four spaces, not a tab.
* If a function call
* If a function call ends with <code>!</code>, it is a macro rather than a function.


[[Category:Programming]]
[[Category:Programming]]

Revision as of 16:48, 1 July 2019

Notes

  • Rust style is to indent with four spaces, not a tab.
  • If a function call ends with !, it is a macro rather than a function.