]> git.lizzy.rs Git - rust.git/commitdiff
Add static_assert doc blurb
authorCorey Richardson <corey@octayn.net>
Wed, 22 May 2013 05:27:39 +0000 (01:27 -0400)
committerCorey Richardson <corey@octayn.net>
Wed, 22 May 2013 17:13:29 +0000 (13:13 -0400)
doc/rust.md

index a115f41ae864b4b71fb79e0967cc286789eeab62..bb0438016b843c92bef0293400933094856de874 100644 (file)
@@ -1426,6 +1426,7 @@ names are effectively reserved. Some significant attributes include:
 by the compiler can be found via `rustc -W help`.
 * The `deriving` attribute, for automatically generating
   implementations of certain traits.
+* The `static_assert` attribute, for asserting that a static bool is true at compiletime
 
 Other attributes may be added or removed during development of the language.