-
Notifications
You must be signed in to change notification settings - Fork 14k
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Description
For example AsciiExt::is_ascii_hexdigit says:
This method will be deprecated in favor of the identically-named inherent methods on
u8,char,[u8]andstr.
But we decided not to carry is_ascii_hexdigit to methods on [u8] and str as discussed in #39658 (comment).
The deprecated methods that are not provided for [u8] and str should instead say something like:
This method will be deprecated in favor of the identically-named inherent methods on
u8andchar. For[u8]use.iter().all(u8::is_ascii_hexdigit). Forstruse.bytes().all(|b| b.is_ascii_hexdigit()).
hellow554 and ondj
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.