Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
93ef808
Revert vita's c_char back to i8
pheki Feb 7, 2025
67cc82a
Inline VecDeque<u8> and BorrowedCursor methods
thaliaarchi Feb 15, 2025
41bdd2b
Override default Write methods for cursor-like types
thaliaarchi Feb 16, 2025
a8d78fe
Specialize OsString::push for strings
thaliaarchi Feb 28, 2025
83407b8
Specialize constructing OsString from strings
thaliaarchi Feb 28, 2025
b119671
Tweak BufReader::peek() doctest to expose bug in Buffer::read_more()
wgwoods Mar 1, 2025
6d07144
Fix logic error in Buffer::read_more()
wgwoods Mar 1, 2025
1b21952
Also add a MIR pre-codegen test for the derived `PartialOrd::le`
scottmcm Mar 2, 2025
eae5ed6
Make `is_le` and friends work like clang's
scottmcm Mar 2, 2025
ac40ea7
Suggest typo fix for static lifetime
compiler-errors Mar 6, 2025
98dc15f
stabilize const_char_classify
RalfJung Mar 6, 2025
8f8c7fc
stabilize const_sockaddr_setters
RalfJung Mar 6, 2025
2458ccd
Simplify printf and shell format suggestions
thaliaarchi Mar 1, 2025
0b151c6
Rollup merge of #136667 - vita-rust:revert-vita-c-char, r=cuviper
matthiaskrgr Mar 7, 2025
458095a
Rollup merge of #137107 - thaliaarchi:io-optional-methods/cursors, r=…
matthiaskrgr Mar 7, 2025
d986027
Rollup merge of #137777 - thaliaarchi:os_string-push-str, r=joboet
matthiaskrgr Mar 7, 2025
a98df54
Rollup merge of #137832 - wgwoods:fix-bufreader-peek, r=joboet
matthiaskrgr Mar 7, 2025
9e16082
Rollup merge of #137904 - scottmcm:ordering-is, r=workingjubilee
matthiaskrgr Mar 7, 2025
79a8c6d
Rollup merge of #138115 - compiler-errors:static-typo, r=BoxyUwU
matthiaskrgr Mar 7, 2025
a928c15
Rollup merge of #138125 - thaliaarchi:defer-alloc-printf-suggestion, …
matthiaskrgr Mar 7, 2025
c33e9d6
Rollup merge of #138129 - RalfJung:stabilize-const-things, r=tgross35
matthiaskrgr Mar 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
stabilize const_char_classify
  • Loading branch information
RalfJung committed Mar 6, 2025
commit 98dc15fb0f93ced1e52491b9007c27a637d37636
4 changes: 2 additions & 2 deletions library/core/src/char/methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ impl char {
/// '1'.is_digit(1);
/// ```
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_char_classify", issue = "132241")]
#[rustc_const_stable(feature = "const_char_classify", since = "CURRENT_RUSTC_VERSION")]
#[inline]
pub const fn is_digit(self, radix: u32) -> bool {
self.to_digit(radix).is_some()
Expand Down Expand Up @@ -886,7 +886,7 @@ impl char {
/// ```
#[must_use]
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_char_classify", issue = "132241")]
#[rustc_const_stable(feature = "const_char_classify", since = "CURRENT_RUSTC_VERSION")]
#[inline]
pub const fn is_whitespace(self) -> bool {
match self {
Expand Down