about summary refs log tree commit diff
path: root/src/libstd/sys/windows/path.rs
AgeCommit message (Collapse)AuthorLines
2020-07-27mv std libs to library/mark-107/+0
2020-07-12Reduce unsafe scopeLzu Tao-49/+48
2020-07-12Prefer empty OsStr over unsafe cast from [u8]Lzu Tao-1/+1
2020-07-12Rewrite parse_two_compsLzu Tao-10/+20
2020-07-12Make use of slice::strip_prefix and slice patternLzu Tao-27/+24
2020-07-12Make is_valid_drive_letter functionLzu Tao-2/+8
2020-07-12Move constants to top fileLzu Tao-2/+3
2019-11-29Format libstd/sys with rustfmtDavid Tolnay-4/+5
This commit applies rustfmt with rust-lang/rust's default settings to files in src/libstd/sys *that are not involved in any currently open PR* to minimize merge conflicts. THe list of files involved in open PRs was determined by querying GitHub's GraphQL API with this script: https://gist.github.com/dtolnay/aa9c34993dc051a4f344d1b10e4487e8 With the list of files from the script in outstanding_files, the relevant commands were: $ find src/libstd/sys -name '*.rs' \ | xargs rustfmt --edition=2018 --unstable-features --skip-children $ rg libstd/sys outstanding_files | xargs git checkout -- Repeating this process several months apart should get us coverage of most of the rest of the files. To confirm no funny business: $ git checkout $THIS_COMMIT^ $ git show --pretty= --name-only $THIS_COMMIT \ | xargs rustfmt --edition=2018 --unstable-features --skip-children $ git diff $THIS_COMMIT # there should be no difference
2019-07-01Remove needless lifetimesJeremy Stucki-1/+1
2019-03-31libstd: deny(elided_lifetimes_in_paths)Mazdak Farrokhzad-1/+1
2019-02-28libstd => 2018Taiki Endo-4/+4
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-05Rollup merge of #56497 - ljedrz:cleanup_libstd_const_lifetimes, r=kennytmPietro Albini-1/+1
cleanup: remove static lifetimes from consts in libstd
2018-12-04Utilize `?` instead of `return None`.Corey Farwell-4/+1
2018-12-04cleanup: remove static lifetimes from consts in libstdljedrz-1/+1
2017-11-04Remove import of now unused AsciiExtLukas Kalbertodt-2/+0
I also replaced a wildcard import with a specific one, while I was at it.
2016-10-01std: Move platform specific path code into sysBrian Anderson-0/+108