diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2021-12-03 20:08:11 -0800 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2021-12-03 20:08:11 -0800 |
| commit | a97f17535009acaa3891a8295b6534b1f022c472 (patch) | |
| tree | a1be9c3cd9cd51d57b46361e8708a377fa35a8f0 /src/librustdoc/html | |
| parent | 14c1e71d095a5500def51d4e405bd2b0010f3d37 (diff) | |
| download | rust-a97f17535009acaa3891a8295b6534b1f022c472.tar.gz rust-a97f17535009acaa3891a8295b6534b1f022c472.zip | |
rustdoc: Remove single-use `Lifetime::get_ref()` function
Diffstat (limited to 'src/librustdoc/html')
| -rw-r--r-- | src/librustdoc/html/format.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/format.rs b/src/librustdoc/html/format.rs index 25471dd726d..a3cbb5756fe 100644 --- a/src/librustdoc/html/format.rs +++ b/src/librustdoc/html/format.rs @@ -346,7 +346,7 @@ crate fn print_where_clause<'a, 'tcx: 'a>( impl clean::Lifetime { crate fn print(&self) -> impl fmt::Display + '_ { - self.get_ref() + self.0.as_str() } } |
