Skip to content

Commit acf920f

Browse files
committed
Add static_assert doc blurb
1 parent e643396 commit acf920f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/rust.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,6 +1426,7 @@ names are effectively reserved. Some significant attributes include:
14261426
by the compiler can be found via `rustc -W help`.
14271427
* The `deriving` attribute, for automatically generating
14281428
implementations of certain traits.
1429+
* The `static_assert` attribute, for asserting that a static bool is true at compiletime
14291430

14301431
Other attributes may be added or removed during development of the language.
14311432

0 commit comments

Comments
 (0)