Skip to content

Commit

Permalink
core::convert::identity: fix issue number to #53500
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril authored Aug 20, 2018
1 parent b7772e6 commit 86641d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 86641d9

Please sign in to comment.