about summary refs log tree commit diff
path: root/src/libcore/str/mod.rs
AgeCommit message (Expand)AuthorLines
2020-04-19Update pattern docs.Eric Huss-36/+115
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/+7
2020-03-23#[track_caller] on core::ops::{Index, IndexMut}.Adam Perry-0/+2
2020-03-05Make link to `std::str` activeLeSeulArtichaut-1/+3
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-33/+34
2020-01-16Apply suggestions from code reviewPhoebe Bell-1/+1
2020-01-16Document unsafe blocks in core::{cell, str, sync}Phoebe Bell-9/+35
2019-12-22Format the worldMark Rousskov-176/+243
2019-12-22Rollup merge of #67480 - rossmacarthur:fix-41260-avoid-issue-0-part-2, r=CentrilMazdak Farrokhzad-3/+3
2019-12-21Require issue = "none" over issue = "0" in unstable attributesRoss MacArthur-3/+3
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 #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-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/+1
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
2019-07-17Auto merge of #61339 - jridgewell:pointer-alignment, r=BurntSushibors-6/+3
2019-07-05Do not use pointer alignment on unsupported platformsJustin Ridgewell-1/+1
2019-07-04Rollup merge of #62316 - khuey:efficient_last, r=sfacklerMazdak Farrokhzad-0/+15
2019-07-03Fixed document bug, those replaced each otherKohei Takahashi-16/+16
2019-07-02When possible without changing semantics, implement Iterator::last in terms o...Kyle Huey-0/+15
2019-06-10make sure to_ascii_lowercase actually leaves upper-case non-ASCII characters ...Ralf Jung-2/+2
2019-06-08Add examples for make_ascii_{uppercase, lowercase}Napen123-0/+20