Skip to content

Commit

Permalink
Indicate anonymous lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystucki committed Dec 23, 2022
1 parent 9e972b7 commit 6b7cce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
//! fn node_id(&'a self, n: &Nd) -> dot::Id<'a> {
//! dot::Id::new(format!("N{}", n)).unwrap()
//! }
//! fn node_label(&self, n: &Nd) -> dot::LabelText {
//! fn node_label(&self, n: &Nd) -> dot::LabelText<'_> {
//! dot::LabelText::LabelStr(self.nodes[*n].into())
//! }
//! fn edge_label<'b>(&'b self, _: &Ed) -> dot::LabelText<'b> {
Expand Down

0 comments on commit 6b7cce8

Please sign in to comment.