]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/nomicon/src/working-with-unsafe.md
New upstream version 1.55.0+dfsg1
[rustc.git] / src / doc / nomicon / src / working-with-unsafe.md
index 935ce580c23049346206914d174bc08899082747..b4b47a172913063edb3e4e5efa2475e201cdc814 100644 (file)
@@ -84,6 +84,7 @@ impl<T> Vec<T> {
 This code is simple enough to reasonably audit and informally verify. Now consider
 adding the following method:
 
+<!-- ignore: simplified code -->
 ```rust,ignore
 fn make_room(&mut self) {
     // grow the capacity
@@ -117,4 +118,3 @@ it prevents us from having to trust all the safe code in the universe from messi
 with our trusted state.
 
 Safety lives!
-