diff options
| author | Albin Hedman <albin9604@gmail.com> | 2021-09-15 18:08:48 +0200 |
|---|---|---|
| committer | Albin Hedman <albin9604@gmail.com> | 2021-09-15 18:08:48 +0200 |
| commit | 29029c0bc2383441412f696e430aaa3536b04e37 (patch) | |
| tree | 2b7db7071d5bee8aefe498afe1ce1f1b8e02ceb2 | |
| parent | ff1ecc0ee9e082236b5d6d652f3419b2915600b2 (diff) | |
| download | rust-29029c0bc2383441412f696e430aaa3536b04e37.tar.gz rust-29029c0bc2383441412f696e430aaa3536b04e37.zip | |
Fix formatting
| -rw-r--r-- | library/core/src/result.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/core/src/result.rs b/library/core/src/result.rs index 6ed980cf53f..bfa84ee4608 100644 --- a/library/core/src/result.rs +++ b/library/core/src/result.rs @@ -1910,7 +1910,9 @@ impl<T, E> const ops::Try for Result<T, E> { #[unstable(feature = "try_trait_v2", issue = "84277")] #[rustc_const_unstable(feature = "const_convert", issue = "88674")] -impl<T, E, F: ~const From<E>> const ops::FromResidual<Result<convert::Infallible, E>> for Result<T, F> { +impl<T, E, F: ~const From<E>> const ops::FromResidual<Result<convert::Infallible, E>> + for Result<T, F> +{ #[inline] fn from_residual(residual: Result<convert::Infallible, E>) -> Self { match residual { |
