diff --git a/src/maps.rs b/src/maps.rs index 882e7ba..3756444 100644 --- a/src/maps.rs +++ b/src/maps.rs @@ -39,10 +39,12 @@ impl VertexMap { } #[deprecated(since = "0.2.2", note = "use 'capacity' instead")] + #[allow(missing_docs)] pub fn len(&self) -> usize { self.capacity() } + #[allow(missing_docs)] pub fn sync>(&mut self, graph: &G) { self.inner.resize(graph.vertex_capacity()); } @@ -94,10 +96,12 @@ impl EdgeMap { } #[deprecated(since = "0.2.2", note = "use 'capacity' instead")] + #[allow(missing_docs)] pub fn len(&self) -> usize { self.capacity() } + #[allow(missing_docs)] pub fn sync>(&mut self, graph: &G) { self.inner.resize(graph.edge_capacity()); }