From ba42baec2e18925b57c2d9a694ff261ff1914144 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Wed, 29 Oct 2025 12:59:44 +0200 Subject: [PATCH 1/2] const_eval.md: add missing word --- src/const_eval.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/const_eval.md b/src/const_eval.md index 7cb85dc266..302e0d3d10 100644 --- a/src/const_eval.md +++ b/src/const_eval.md @@ -15,7 +15,7 @@ compile time. r[const-eval.const-expr.const-context] In [const contexts](#const-context), these are the only allowed -expressions, and are always evaluated at compile time. +expressions, and they are always evaluated at compile time. r[const-eval.const-expr.runtime-context] In other places, such as [let statements], constant expressions *may* be, but are not guaranteed to be, evaluated at compile time. From 1ab1ccb4b5c4142ccf05da6bcf07062d95330b40 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Wed, 29 Oct 2025 13:00:42 +0200 Subject: [PATCH 2/2] unwrap --- src/const_eval.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/const_eval.md b/src/const_eval.md index 302e0d3d10..3e79deb298 100644 --- a/src/const_eval.md +++ b/src/const_eval.md @@ -14,8 +14,7 @@ Certain forms of expressions, called constant expressions, can be evaluated at compile time. r[const-eval.const-expr.const-context] -In [const contexts](#const-context), these are the only allowed -expressions, and they are always evaluated at compile time. +In [const contexts](#const-context), these are the only allowed expressions, and they are always evaluated at compile time. r[const-eval.const-expr.runtime-context] In other places, such as [let statements], constant expressions *may* be, but are not guaranteed to be, evaluated at compile time.