Skip to content

Commit 1174aac

Browse files
committed
Indicate anonymous lifetime
1 parent 2c9d9bf commit 1174aac

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_graphviz/src

1 file changed

+1
-1
lines changed

compiler/rustc_graphviz/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
//! fn node_id(&'a self, n: &Nd) -> dot::Id<'a> {
165165
//! dot::Id::new(format!("N{}", n)).unwrap()
166166
//! }
167-
//! fn node_label(&self, n: &Nd) -> dot::LabelText {
167+
//! fn node_label(&self, n: &Nd) -> dot::LabelText<'_> {
168168
//! dot::LabelText::LabelStr(self.nodes[*n].into())
169169
//! }
170170
//! fn edge_label<'b>(&'b self, _: &Ed) -> dot::LabelText<'b> {

0 commit comments

Comments
 (0)