summaryrefslogtreecommitdiff
path: root/doc/HACKING/CodingStandardsRust.md
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-07-13 10:45:04 -0400
committerNick Mathewson <nickm@torproject.org>2020-07-13 10:45:04 -0400
commitecb43ce21caccbdfe99b0e12cdce7f83d59b06e3 (patch)
tree972dfab41d90ef357b5f0881bb8a646f7896f23a /doc/HACKING/CodingStandardsRust.md
parent0c91c63593720f07a20034bce2b0478dee216763 (diff)
parenteb427f309cbe2eb82769fdec4e9b7a7249c3287b (diff)
downloadtor-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.md4
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