We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 778be74 commit 8720174Copy full SHA for 8720174
src/libgraphviz/lib.rs
@@ -218,7 +218,7 @@
218
//! impl<'a> dot::Labeller<'a, Nd<'a>, Ed<'a>> for Graph {
219
//! fn graph_id(&'a self) -> dot::Id<'a> { dot::Id::new("example3").unwrap() }
220
//! fn node_id(&'a self, n: &Nd<'a>) -> dot::Id<'a> {
221
-//! dot::Id::new(format!("N{}", n.val0())).unwrap()
+//! dot::Id::new(format!("N{}", n.0)).unwrap()
222
//! }
223
//! fn node_label<'a>(&'a self, n: &Nd<'a>) -> dot::LabelText<'a> {
224
//! let &(i, _) = n;
0 commit comments