diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-04-19 06:03:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-19 06:03:30 +0200 |
| commit | 3ad9fcccbbfef027386c6f42fe6321c885b04817 (patch) | |
| tree | 8701a634c23f3bd64688468562f1f57458199d61 /src/libcore/fmt/builders.rs | |
| parent | c0ea0d8c31c9c4892d5aee07b53a73b4e728be43 (diff) | |
| parent | dbfbadeac4f593e31bbcb57bc7c3b1d17ab1cd65 (diff) | |
Rollup merge of #60098 - Centril:libcore-deny-more, r=varkor
libcore: deny `elided_lifetimes_in_paths` r? @varkor
Diffstat (limited to 'src/libcore/fmt/builders.rs')
| -rw-r--r-- | src/libcore/fmt/builders.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/fmt/builders.rs b/src/libcore/fmt/builders.rs index e78381ba0c4..df86da5fc39 100644 --- a/src/libcore/fmt/builders.rs +++ b/src/libcore/fmt/builders.rs @@ -6,7 +6,7 @@ struct PadAdapter<'a> { } impl<'a> PadAdapter<'a> { - fn wrap<'b, 'c: 'a+'b>(fmt: &'c mut fmt::Formatter, slot: &'b mut Option<Self>) + fn wrap<'b, 'c: 'a+'b>(fmt: &'c mut fmt::Formatter<'_>, slot: &'b mut Option<Self>) -> fmt::Formatter<'b> { fmt.wrap_buf(move |buf| { *slot = Some(PadAdapter { |
