about summary refs log tree commit diff
path: root/src/libcore/str
AgeCommit message (Expand)AuthorLines
2020-03-31Rollup merge of #70588 - Coder-256:str-split-at-docs, r=Dylan-DPCMazdak Farrokhzad-2/+2
2020-03-30Fix incorrect documentation for `str::{split_at, split_at_mut}`Jacob Greenfield-2/+2
2020-03-30Optimize strip_prefix and strip_suffix with str patternsNikhil Benesch-30/+92
2020-03-23#[track_caller] on core::ops::{Index, IndexMut}.Adam Perry-0/+2
2020-03-07Use ?-operator in more places (clippy::question_mark, had some false negative...Matthias Krüger-8/+5
2020-03-05Make link to `std::str` activeLeSeulArtichaut-1/+3
2020-02-26don't take redundant references to operandsMatthias Krüger-1/+1
2020-02-22Relax str::get_unchecked precondition to permit empty slicingridiculousfish-4/+4
2020-02-22Auto merge of #67330 - golddranks:split_inclusive, r=kodrausbors-0/+150
2020-02-20Auto merge of #69256 - nnethercote:misc-inlining, r=Centrilbors-1/+1
2020-02-18Always inline `run_utf8_validation`.Nicholas Nethercote-1/+1
2020-02-17Rollup merge of #68495 - sdegutis:patch-1, r=Mark-SimulacrumYuki Okushi-1/+2
2020-02-09Don't return empty slice on last iteration with matched terminator. Test reve...Pyry Kontio-18/+45
2020-02-09Implement split_inclusive for slice and str, an splitting iterator that inclu...Pyry Kontio-0/+123
2020-02-01Remove some unsound specializationsMatthew Jasper-5/+5
2020-01-23Updating str.chars docs to mention crates.io.Steven Degutis-1/+2
2020-01-16Fix formatting: ./x.py fmtPhoebe Bell-15/+5
2020-01-16Move comments for tidyPhoebe Bell-5/+5
2020-01-16Elaborate on SAFETY commentsPhoebe Bell-37/+39
2020-01-16Apply suggestions from code reviewPhoebe Bell-1/+1
2020-01-16Document unsafe blocks in core::{cell, str, sync}Phoebe Bell-13/+50
2020-01-08Use matches macro in libcore and libstdIgor Aleksanov-8/+2
2019-12-22Format the worldMark Rousskov-302/+396
2019-12-22Rollup merge of #67480 - rossmacarthur:fix-41260-avoid-issue-0-part-2, r=CentrilMazdak Farrokhzad-6/+6
2019-12-21Require issue = "none" over issue = "0" in unstable attributesRoss MacArthur-6/+6
2019-12-21Fix src/libcore/str/mod.rs doc commentsBroono Lu-1/+1
2019-12-18Propagate cfg bootstrapMark Rousskov-7/+4
2019-12-16Rollup merge of #67249 - ranma42:improve-starts-with-literal-char, r=BurntSushiMazdak Farrokhzad-15/+4
2019-12-16Rollup merge of #66735 - SOF3:feature/str_strip, r=KodrAusMazdak Farrokhzad-1/+72
2019-12-15Set tracking issue for str_stripSOFe-2/+2
2019-12-13Require stable/unstable annotations for the constness of all stable functions...Oliver Scherer-0/+7
2019-12-12Minor cleanup in `Pattern::{is_prefix_of,is_suffix_of}` for `char`Andrea Canciani-4/+2
2019-12-12Prefer encoding the char when checking for string prefix/suffixAndrea Canciani-10/+4
2019-12-11Improve `str` prefix/suffix comparisonAndrea Canciani-5/+2
2019-12-11Some small readability improvementsAndre Bogus-6/+1
2019-12-03Fix documentation of pattern for str::matches()Sen Jiang-2/+2
2019-11-26Fixed formatting issuesSOFe-2/+4
2019-11-26Improved comments to clarify sasumptions in str::strip_prefixSOFe-5/+7
2019-11-25Add str::strip_prefix and str::strip_suffixSOFe-1/+68
2019-11-06Have tidy ensure that we document all `unsafe` blocks in libcoreOliver Scherer-0/+5
2019-11-01doc(str): show example of chars().count() under len()Jeff Dickey-2/+2
2019-10-20Remove leading :: from paths in doc examplesMikko Rantanen-2/+2
2019-10-04Allow unused attributes to avoid incremental bugMark Rousskov-0/+1
2019-09-25Snap cfgs to new betaMark Rousskov-4/+1
2019-09-24Stabilize `str::len`, `[T]::len`, `is_empty` and `str::as_bytes` as const fnOliver Scherer-3/+5
2019-08-31Fix word repetition in str documentationJulian Gehring-4/+4
2019-08-28add missing `#[repr(C)]` on a unionDodo-0/+1
2019-08-08Use associated_type_bounds where applicable - closes #61738Ilija Tovilo-42/+74
2019-07-29comments from @lzutaoMaximilian Roos-1/+1
2019-07-29impl Debug for CharsMaximilian Roos-1/+11