diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-07-13 10:45:04 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-07-13 10:45:04 -0400 |
commit | ecb43ce21caccbdfe99b0e12cdce7f83d59b06e3 (patch) | |
tree | 972dfab41d90ef357b5f0881bb8a646f7896f23a /doc/HACKING/CodingStandardsRust.md | |
parent | 0c91c63593720f07a20034bce2b0478dee216763 (diff) | |
parent | eb427f309cbe2eb82769fdec4e9b7a7249c3287b (diff) | |
download | tor-ecb43ce21caccbdfe99b0e12cdce7f83d59b06e3.tar.gz tor-ecb43ce21caccbdfe99b0e12cdce7f83d59b06e3.zip |
Merge branch 'maint-0.4.4'
Diffstat (limited to 'doc/HACKING/CodingStandardsRust.md')
-rw-r--r-- | doc/HACKING/CodingStandardsRust.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/HACKING/CodingStandardsRust.md b/doc/HACKING/CodingStandardsRust.md index fb2c93bbea..c821465173 100644 --- a/doc/HACKING/CodingStandardsRust.md +++ b/doc/HACKING/CodingStandardsRust.md @@ -224,10 +224,10 @@ Here are some additional bits of advice and rules: > > * Data races > * Dereferencing a null/dangling raw pointer - > * Reads of [undef](http://llvm.org/docs/LangRef.html#undefined-values) + > * Reads of [undef](https://llvm.org/docs/LangRef.html#undefined-values) > (uninitialized) memory > * Breaking the - > [pointer aliasing rules](http://llvm.org/docs/LangRef.html#pointer-aliasing-rules) + > [pointer aliasing rules](https://llvm.org/docs/LangRef.html#pointer-aliasing-rules) > with raw pointers (a subset of the rules used by C) > * `&mut T` and `&T` follow LLVM’s scoped noalias model, except if the `&T` > contains an `UnsafeCell<U>`. Unsafe code must not violate these aliasing |