Skip to content

Commit 3e662ea

Browse files
Merge #510
510: Add missing glossary entry for const block expressions r=pietroalbini a=Veykril Co-authored-by: Lukas Wirth <[email protected]>
2 parents b4ab93e + 1a68c4f commit 3e662ea

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/glossary.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1342,6 +1342,16 @@ to either ``true`` or ``false``, and controls :t:`conditional compilation`.
13421342
:dp:`fls_99ioki0M64fD`
13431343
See :s:`ConfigurationPredicate`.
13441344

1345+
.. _fls_vuBjK3kdImTn:
1346+
1347+
const block expression
1348+
^^^^^^^^^^^^^^^^^^^^^^
1349+
1350+
:dp:`fls_5ApoJzRSTZGH`
1351+
A :dt:`const block expression` is a :t:`block expression` that is specified
1352+
with :t:`keyword` ``const`` and encapsulates behavior which is evaluated
1353+
statically.
1354+
13451355
.. _fls_yw57di94gwpf:
13461356

13471357
constant
@@ -5065,7 +5075,7 @@ proc-macro crate
50655075
.. _fls_AjjdLZWiL9Tq:
50665076

50675077
:dp:`fls_DfTszT1PjV7o`
5068-
A :t:`proc-macro crate` is a :t:`crate` whose :t:`crate type` is ``proc-macro``.
5078+
A :dt:`proc-macro crate` is a :t:`crate` whose :t:`crate type` is ``proc-macro``.
50695079

50705080
.. _fls_sp5wdsxwmxf:
50715081

0 commit comments

Comments
 (0)