diff options
| author | Alexander Ronald Altman <alexanderaltman@me.com> | 2018-09-26 16:03:05 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-26 16:03:05 -0500 |
| commit | bb0abe98a7ecc92b90b1065e2544c7b25d080edc (patch) | |
| tree | 14f3ae7f9e5300573f3142908891c6e21e9631b8 /src/libcore | |
| parent | c7df1f530b8a88f471e60e933868e7ddf456974d (diff) | |
| download | rust-bb0abe98a7ecc92b90b1065e2544c7b25d080edc.tar.gz rust-bb0abe98a7ecc92b90b1065e2544c7b25d080edc.zip | |
Remove useless lifetimes from `Pin` `impl`s.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/pin.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libcore/pin.rs b/src/libcore/pin.rs index d09a545aecf..0224560af4c 100644 --- a/src/libcore/pin.rs +++ b/src/libcore/pin.rs @@ -293,21 +293,21 @@ where } #[unstable(feature = "pin", issue = "49150")] -impl<'a, P: fmt::Debug> fmt::Debug for Pin<P> { +impl<P: fmt::Debug> fmt::Debug for Pin<P> { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fmt::Debug::fmt(&self.pointer, f) } } #[unstable(feature = "pin", issue = "49150")] -impl<'a, P: fmt::Display> fmt::Display for Pin<P> { +impl<P: fmt::Display> fmt::Display for Pin<P> { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fmt::Display::fmt(&self.pointer, f) } } #[unstable(feature = "pin", issue = "49150")] -impl<'a, P: fmt::Pointer> fmt::Pointer for Pin<P> { +impl<P: fmt::Pointer> fmt::Pointer for Pin<P> { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fmt::Pointer::fmt(&self.pointer, f) } @@ -319,10 +319,10 @@ impl<'a, P: fmt::Pointer> fmt::Pointer for Pin<P> { // for other reasons, though, so we just need to take care not to allow such // impls to land in std. #[unstable(feature = "pin", issue = "49150")] -impl<'a, P, U> CoerceUnsized<Pin<U>> for Pin<P> +impl<P, U> CoerceUnsized<Pin<U>> for Pin<P> where P: CoerceUnsized<U>, {} #[unstable(feature = "pin", issue = "49150")] -impl<'a, P> Unpin for Pin<P> {} +impl<P> Unpin for Pin<P> {} |
