]> git.lizzy.rs Git - rust.git/commit
Doc: `static mut` is unsafe too
authorSimon Sapin <simon.sapin@exyr.org>
Wed, 28 May 2014 13:19:25 +0000 (14:19 +0100)
committerSimon Sapin <simon.sapin@exyr.org>
Wed, 28 May 2014 13:19:25 +0000 (14:19 +0100)
commit17697c78c55ec35ac2ea27459c01aff4e0f7e35b
tree2cacc46af3f56182e5a6c443c8ea459c327cbbce
parentbee42a9413f0ecc65110b16846fb92ae1ba91dba
Doc: `static mut` is unsafe too

According to the corresponding section, accessing a mutable static variable requires `unsafe` too, and I believe it counts as as language level feature. Add it to the relevant list in the Unsafety section.
src/doc/rust.md