X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/02337846140cac7ff30e3cc64fd3c9a024bee17c..fa343b9549ed103c387dc84fd581c4e69f418077:/src/part16.rs?ds=inline diff --git a/src/part16.rs b/src/part16.rs index 4b3e773..876df27 100644 --- a/src/part16.rs +++ b/src/part16.rs @@ -28,6 +28,7 @@ use std::marker::PhantomData; //@ low-level data-structure like a doubly-linked list, it makes sense to implement an efficient //@ version once, that is unsafe internally, but that can be used without any risk by safe client //@ code. + //@ As usually, we start by defining the types. Everything is parameterized by the type `T` of the //@ data stored in the list. // A node of the list consists of the data, and two node pointers for the predecessor and successor. @@ -216,7 +217,6 @@ impl Drop for LinkedList { } // ## The End - //@ Congratulations! You completed Rust-101. This was the last part of the course. I hope you //@ enjoyed it. If you have feedback or want to contribute yourself, please head to the //@ [Rust-101](https://www.ralfj.de/projects/rust-101/) website fur further information. The entire