about summary refs log tree commit diff
path: root/compiler/rustc_graphviz/src
diff options
context:
space:
mode:
authorJeremy Stucki <dev@jeremystucki.ch>2022-12-20 22:10:40 +0100
committerJeremy Stucki <dev@jeremystucki.ch>2022-12-20 22:10:40 +0100
commit3dde32ca974721daa4dfd526226d6c9e707fd8af (patch)
tree5d6407e56538d2c5e2e0a5a8e8ed9981ec95adda /compiler/rustc_graphviz/src
parent65bd2a6a73d6a74fb1266a1d96b23de8810a5fb2 (diff)
downloadrust-3dde32ca974721daa4dfd526226d6c9e707fd8af.tar.gz
rust-3dde32ca974721daa4dfd526226d6c9e707fd8af.zip
rustc: Remove needless lifetimes
Diffstat (limited to 'compiler/rustc_graphviz/src')
-rw-r--r--compiler/rustc_graphviz/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_graphviz/src/lib.rs b/compiler/rustc_graphviz/src/lib.rs
index 1f8268cc17c..d7730935f20 100644
--- a/compiler/rustc_graphviz/src/lib.rs
+++ b/compiler/rustc_graphviz/src/lib.rs
@@ -164,7 +164,7 @@
 //!     fn node_id(&'a self, n: &Nd) -> dot::Id<'a> {
 //!         dot::Id::new(format!("N{}", n)).unwrap()
 //!     }
-//!     fn node_label<'b>(&'b self, n: &Nd) -> dot::LabelText<'b> {
+//!     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> {