about summary refs log tree commit diff
path: root/library/core/src/str/validations.rs
AgeCommit message (Expand)AuthorLines
2025-07-05use `is_multiple_of` instead of manual moduloFolkert de Vries-1/+1
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-2/+1
2024-11-05add const_eval_select macro to reduce redundancyRalf Jung-10/+7
2024-11-03remove const-support for align_offsetRalf Jung-6/+20
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
2024-02-12Fix comment in core/src/str/validations.rsPizzasBear-1/+1
2022-08-21Replace most uses of `pointer::offset` with `add` and `sub`Maybe Waffle-2/+2
2022-04-15Make some `usize`-typed masks definition agnostic to the size of `usize`Eduardo Sánchez Muñoz-2/+1
2022-02-07Add {floor,ceil}_char_boundary methods to strltdk-13/+0
2021-11-25Saner formatting for UTF8_CHAR_WIDTH tableDavid Tolnay-16/+17
2021-11-21libcore: assume the input of `next_code_point` and `next_code_point_reverse` ...Eduardo Sánchez Muñoz-16/+28
2021-11-18Make slice->str conversion and related functions constMaybe Waffle-9/+10
2021-10-31Rollup merge of #89897 - jkugelman:must-use-core, r=joshtriplettMatthias Krüger-0/+1
2021-10-30Add #[must_use] to remaining core functionsJohn Kugelman-0/+1
2021-10-27replace `|` with `||` in string validationPietro Albini-1/+1
2021-09-11manually inline functionThe8472-4/+4
2021-09-11optimization continuation byte validation of strings containing multibyte charsThe8472-6/+4
2021-09-11optimize utf8_is_cont_byte() to speed up str.chars().count()The8472-1/+1
2020-11-18Remove semicolon from internal `err` macroAaron Hill-1/+1
2020-09-26Move utf-8 validating helpers to new modLzu Tao-0/+275