summary refs log tree commit diff
path: root/library/core/src/str
AgeCommit message (Expand)AuthorLines
2022-02-07Add {floor,ceil}_char_boundary methods to strltdk-23/+78
2022-02-05Fix comment grammar for `do_count_chars`Thom Chiovoloni-1/+1
2022-02-05Respond to review feedback, and improve implementation somewhatThom Chiovoloni-20/+40
2022-02-05Optimize `core::str::Chars::count`Thom Chiovoloni-3/+119
2021-12-14Fix a bunch of typosFrank Steffahn-9/+9
2021-12-12doc: fix typo in commentsjapm48-4/+4
2021-12-08Delete Utf8Lossy::from_strDavid Tolnay-5/+0
2021-11-30Auto merge of #91244 - dtolnay:lossy, r=Mark-Simulacrumbors-38/+37
2021-11-26Clarify safety comment on using i to index into self.sourceDavid Tolnay-2/+8
2021-11-25Eliminate bunch of copies of error codepath from Utf8LossyChunksIterDavid Tolnay-38/+31
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-24/+34
2021-11-18Fill in tracking issues for `const_str_from_utf8` and `const_str_from_utf8_un...Maybe Waffle-5/+5
2021-11-18Make slice->str conversion and related functions constMaybe Waffle-21/+41
2021-10-31Auto merge of #86336 - camsteffen:char-array-pattern, r=joshtriplettbors-0/+73
2021-10-31Rollup merge of #89786 - jkugelman:must-use-len-and-is_empty, r=joshtriplettMatthias Krüger-1/+3
2021-10-31Rollup merge of #89897 - jkugelman:must-use-core, r=joshtriplettMatthias Krüger-0/+8
2021-10-31Rollup merge of #89835 - jkugelman:must-use-expensive-computations, r=joshtri...Matthias Krüger-0/+7
2021-10-30Add #[must_use] to len and is_emptyJohn Kugelman-1/+3
2021-10-30Add #[must_use] to remaining core functionsJohn Kugelman-0/+8
2021-10-30Rollup merge of #90371 - Veykril:patch-2, r=jyn514Matthias Krüger-1/+1
2021-10-28Fix incorrect doc linkLukas Wirth-1/+1
2021-10-27replace `|` with `||` in string validationPietro Albini-1/+1
2021-10-22docs: Escape brackets to satisfy the linkcheckerNoah Lev-5/+4
2021-10-14Add missing word to `FromStr` trait docsAdam Skoufis-1/+1
2021-10-12Add #[must_use] to expensive computationsJohn Kugelman-0/+7
2021-10-12Rollup merge of #89778 - jkugelman:must-use-as_type-conversions, r=joshtriplettthe8472-0/+8
2021-10-11Add #[must_use] to as_type conversionsJohn Kugelman-0/+8
2021-10-11Rollup merge of #89753 - jkugelman:must-use-from_value-conversions, r=joshtri...Guillaume Gomez-0/+4
2021-10-10Add #[must_use] to from_value conversionsJohn Kugelman-0/+4
2021-10-10Rollup merge of #89718 - jkugelman:must-use-is_condition-tests, r=joshtriplettMatthias Krüger-0/+1
2021-10-10Auto merge of #89219 - nickkuk:str_split_once_get_unchecked, r=Mark-Simulacrumbors-2/+4
2021-10-09Add #[must_use] to is_condition testsJohn Kugelman-0/+1
2021-10-09Rollup merge of #89694 - jkugelman:must-use-string-transforms, r=joshtriplettMatthias Krüger-0/+16
2021-10-09Rollup merge of #88707 - sylvestre:split_example, r=yaahcMatthias Krüger-0/+6
2021-10-09Add #[must_use] to string/char transformation methodsJohn Kugelman-0/+16
2021-10-05Use get_unchecked in str::[r]split_oncenickkuk-2/+4
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
2021-09-08Bump stage0 compiler to 1.56Mark Rousskov-2/+0
2021-09-06String.split_terminator: Add an example when using a slice of charsSylvestre Ledru-0/+6
2021-09-02Auto merge of #83342 - Count-Count:win-console-incomplete-utf8, r=m-ou-sebors-1/+1
2021-08-17Constified `Default` implementationsDeadbeef-1/+2
2021-07-29Fix may not to appropriate might not or must notAli Malik-4/+4
2021-07-28Add char array without ref Pattern implCameron Steffen-4/+37
2021-07-28impl Pattern for char arrayCameron Steffen-0/+40
2021-07-28Add TrustedRandomAccessNoCoerce supertrait without requirements or guarantees...Frank Steffahn-2/+6
2021-07-27Stabilize `const_fn_transmute`Jacob Pratt-2/+2
2021-07-11Fix #85462 by adding a marker flagAlexis Bourget-2/+17