Matthias Krüger a5488826a9
Rollup merge of #101308 - nerdypepper:feature/is-ascii-octdigit, r=joshtriplett
introduce `{char, u8}::is_ascii_octdigit`

This feature adds two new APIs: `char::is_ascii_octdigit` and `u8::is_ascii_octdigit`, under the feature gate `is_ascii_octdigit`. These methods are shorthands for `char::is_digit(self, 8)` and `u8::is_digit(self, 8)`:

```rust
// core::char

impl char {
    pub fn is_ascii_octdigit(self) -> bool;
}

// core::num

impl u8 {
    pub fn is_ascii_octdigit(self) -> bool;
}
```

---

Couple of things I need help understanding:

- `const`ness: have I used the right attribute in this case?
- is there a way to run the tests for `core::char` alone, instead of `./x.py test library/core`?
2022-10-03 20:58:56 +02:00
..
2022-06-27 13:30:44 -04:00
2022-07-13 17:07:41 -07:00
2022-05-20 11:04:13 -03:00
2022-05-22 07:18:32 -03:00
2021-12-15 00:11:23 +08:00
2022-05-20 11:16:30 -07:00
2022-02-02 23:07:02 +09:00
2022-02-25 08:00:52 -05:00
2022-07-03 10:46:20 +01:00
2021-11-21 19:10:39 -08:00
2022-08-23 19:32:37 +04:00
2022-08-03 12:44:21 -04:00
2022-08-20 12:49:20 -04:00
2022-09-14 14:53:16 +02:00
2022-07-08 21:18:15 +00:00
2022-06-27 13:30:44 -04:00