From 9a1e2faa9a16ba61476c2257410ad641cf663d8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Tue, 28 Jul 2026 22:56:51 +0200 Subject: [PATCH] Allow missing docs on deprecated maps methods --- src/maps.rs | 4 ++++ 1 file changed, 4 insertions(+) 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()); }