Skip to content

Commit

Permalink
apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
dingxiangfei2009 committed Oct 25, 2024
1 parent 86e6f2e commit 51f2499
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/const_eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down

0 comments on commit 51f2499

Please sign in to comment.