core::convert::identity: fix issue number to #53500
This commit is contained in:
parent
b7772e6c9e
commit
86641d97b2
@ -103,7 +103,7 @@
|
||||
/// let filtered = iter.filter_map(identity).collect::<Vec<_>>();
|
||||
/// assert_eq!(vec![1, 3], filtered);
|
||||
/// ```
|
||||
#[unstable(feature = "convert_id", issue = "0")]
|
||||
#[unstable(feature = "convert_id", issue = "53500")]
|
||||
#[rustc_const_unstable(feature = "const_convert_id")]
|
||||
#[inline]
|
||||
pub const fn identity<T>(x: T) -> T { x }
|
||||
|
Loading…
Reference in New Issue
Block a user