From 1880e07e5308bb6d2836da1138638802faa9a554 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Wed, 3 Jul 2024 12:47:18 +0200 Subject: [PATCH 1/2] Add missing glossary entry for const block expressions --- src/glossary.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/glossary.rst b/src/glossary.rst index a13641fb..b75d1149 100644 --- a/src/glossary.rst +++ b/src/glossary.rst @@ -1342,6 +1342,16 @@ to either ``true`` or ``false``, and controls :t:`conditional compilation`. :dp:`fls_99ioki0M64fD` See :s:`ConfigurationPredicate`. +.. _fls_vuBjK3kdImTn: + +const block expression +^^^^^^^^^^^^^^^^^^^^^^ + +:dp:`fls_5ApoJzRSTZGH` +A :dt:`const block expression` is a :t:`block expression` that is specified +with :t:`keyword` ``const`` and encapsulates behavior which is evaluated +statically. + .. _fls_yw57di94gwpf: constant From 1a68c4f9272674a812571c83a7f3935d076f7c8e Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Wed, 3 Jul 2024 12:54:55 +0200 Subject: [PATCH 2/2] Add missing definition marker --- src/glossary.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glossary.rst b/src/glossary.rst index b75d1149..c355290c 100644 --- a/src/glossary.rst +++ b/src/glossary.rst @@ -5075,7 +5075,7 @@ proc-macro crate .. _fls_AjjdLZWiL9Tq: :dp:`fls_DfTszT1PjV7o` -A :t:`proc-macro crate` is a :t:`crate` whose :t:`crate type` is ``proc-macro``. +A :dt:`proc-macro crate` is a :t:`crate` whose :t:`crate type` is ``proc-macro``. .. _fls_sp5wdsxwmxf: