]> git.lizzy.rs Git - rust.git/commit
Fix UB in documented example for `ptr::swap`
authorFrank Steffahn <frank.steffahn@stu.uni-kiel.de>
Wed, 19 May 2021 10:33:10 +0000 (12:33 +0200)
committerFrank Steffahn <frank.steffahn@stu.uni-kiel.de>
Wed, 19 May 2021 12:09:23 +0000 (14:09 +0200)
commitf9752b493086fd3063c9aef83d2622d322bbc51c
tree21ce968425e1e37159d9fe79f4a3ce8687fd95f3
parentbe8450eec8fa635a9132f799012fed83ba59121e
Fix UB in documented example for `ptr::swap`
library/core/src/ptr/mod.rs