From 51f2499c4940ffbd26e715cff30fd7ca77d8f046 Mon Sep 17 00:00:00 2001 From: Ding Xiang Fei Date: Sat, 26 Oct 2024 02:45:52 +0800 Subject: [PATCH] apply suggestions --- src/const_eval.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/const_eval.md b/src/const_eval.md index df93c21a2..1b8031b5f 100644 --- a/src/const_eval.md +++ b/src/const_eval.md @@ -43,9 +43,7 @@ r[const-eval.const-expr.path-item] r[const-eval.const-expr.path-static] * Paths to [statics] with these restrictions and observations. - * In particular, reads and writes to any `static`, `static mut` or [`extern` statics] is not allowed. - * Immutable borrows and pointers into immutable part of a `static` are allowed and observes the same restriction - on all other forms of [borrow]s as mentioned below. + * In particular, reads and writes to any `static mut` or [`extern` statics] is not allowed. r[const-eval.const-expr.tuple] * [Tuple expressions].