diff options
| -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 { |
