Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-lang/rust
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d09382ee351c8778d8be252cdd0b7f8b146879fb
Choose a base ref
..
head repository: rust-lang/rust
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1193cefb78579338862854339ed37dc3807d7dd7
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/core/src/array/mod.rs
2 changes: 1 addition & 1 deletion library/core/src/array/mod.rs
Original file line number Diff line number Diff line change
@@ -533,7 +533,7 @@ impl<T, const N: usize> [T; N] {
/// assert_eq!(c, Some(a));
/// ```
#[unstable(feature = "array_try_map", issue = "79711")]
pub fn try_map<R: Try>(
pub fn try_map<R>(
self,
f: impl FnMut(T) -> R,
) -> <R::Residual as Residual<[R::Output; N]>>::TryType