MCPcopy Create free account
hub / github.com/douchuan/algorithm / default

Method default

src/ll/linked_list.rs:167–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165
166impl<T> Default for LinkedList<T> {
167 fn default() -> Self {
168 Self {
169 head: None,
170 tail: None,
171 len: 0,
172 }
173 }
174}
175
176impl<T> Drop for LinkedList<T> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected