Doubly-linked list/Element insertion: Difference between revisions

Content added Content deleted
Line 959: Line 959:


=== The behind-the-scenes implementation ===
=== The behind-the-scenes implementation ===
This expands upon the implementation defined in [[Doubly-linked list/Element definition#Rust]] and consists of the relevant lines from the LinkedList implementation in the Rust standard library.
This expands upon the implementation defined in [[Doubly-linked list/Element definition#The_behind-the-scenes_implementation]] and consists of the relevant lines from the LinkedList implementation in the Rust standard library.


<lang rust>impl<T> Node<T> {
<lang rust>impl<T> Node<T> {