We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c9d9bf commit 1174aacCopy full SHA for 1174aac
compiler/rustc_graphviz/src/lib.rs
@@ -164,7 +164,7 @@
164
//! fn node_id(&'a self, n: &Nd) -> dot::Id<'a> {
165
//! dot::Id::new(format!("N{}", n)).unwrap()
166
//! }
167
-//! fn node_label(&self, n: &Nd) -> dot::LabelText {
+//! fn node_label(&self, n: &Nd) -> dot::LabelText<'_> {
168
//! dot::LabelText::LabelStr(self.nodes[*n].into())
169
170
//! fn edge_label<'b>(&'b self, _: &Ed) -> dot::LabelText<'b> {
0 commit comments