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

Method is_empty

src/common/queue.rs:45–47  ·  view source on GitHub ↗

Returns true if this queue is empty

(&self)

Source from the content-addressed store, hash-verified

43
44 /// Returns true if this queue is empty
45 pub fn is_empty(&self) -> bool {
46 self.ll.is_empty()
47 }
48}
49
50impl<T> Default for Queue<T> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected