about summary refs log tree commit diff
path: root/library/std/src/ffi
AgeCommit message (Expand)AuthorLines
2021-12-30Remove needless allocation from example code of OsStringDavid Tolnay-4/+4
2021-12-30Fix some copy/paste hysteresis in OsString try_reserve docsDavid Tolnay-4/+4
2021-12-29Address commentsXuanwo-6/+6
2021-12-29Update library/std/src/ffi/os_str.rsXuanwo-1/+1
2021-12-28Add try_reserve for OsStringXuanwo-0/+81
2021-12-13Stabilize const_cstr_uncheckedKonrad Borowski-1/+1
2021-12-02Emphasise that an OsStr[ing] is not necessarily a platform stringChris Denton-10/+13
2021-10-31Rollup merge of #90430 - jkugelman:must-use-std-a-through-n, r=joshtriplettMatthias Krüger-0/+5
2021-10-31Rollup merge of #89786 - jkugelman:must-use-len-and-is_empty, r=joshtriplettMatthias Krüger-0/+2
2021-10-31Rollup merge of #89835 - jkugelman:must-use-expensive-computations, r=joshtri...Matthias Krüger-0/+1
2021-10-30Add #[must_use] to remaining std functions (A-N)John Kugelman-0/+5
2021-10-30Add #[must_use] to len and is_emptyJohn Kugelman-0/+2
2021-10-27Add tracking issue number to const_cstr_uncheckedKonrad Borowski-1/+1
2021-10-22Auto merge of #90007 - xfix:inline-cstr-from-str, r=kennytmbors-0/+1
2021-10-20fix 'since' version numberNathan Stocks-1/+1
2021-10-20stabilize CString::from_vec_with_nul[_unchecked]Nathan Stocks-13/+9
2021-10-18Inline CStr::from_ptrKonrad Borowski-0/+1
2021-10-13Rollup merge of #89794 - jkugelman:must-use-to_value-conversions, r=joshtriplettYuki Okushi-0/+12
2021-10-12Add #[must_use] to expensive computationsJohn Kugelman-0/+1
2021-10-12Rollup merge of #89778 - jkugelman:must-use-as_type-conversions, r=joshtriplettthe8472-0/+6
2021-10-11Add #[must_use] to to_value conversionsJohn Kugelman-0/+12
2021-10-11Add #[must_use] to as_type conversionsJohn Kugelman-0/+6
2021-10-11Rollup merge of #89753 - jkugelman:must-use-from_value-conversions, r=joshtri...Guillaume Gomez-0/+5
2021-10-11Rollup merge of #89729 - jkugelman:must-use-core-std-constructors, r=joshtrip...Guillaume Gomez-0/+2
2021-10-10Add #[must_use] to conversions that move selfJohn Kugelman-1/+8
2021-10-10Add #[must_use] to from_value conversionsJohn Kugelman-0/+5
2021-10-10Add #[must_use] to core and std constructorsJohn Kugelman-0/+2
2021-10-09Add #[must_use] to string/char transformation methodsJohn Kugelman-0/+2
2021-09-28Clarify that `CString::from_vec_unchecked` appends 0 byte.et342-0/+2
2021-09-25Rollup merge of #89216 - r00ster91:bigo, r=dtolnayManish Goregaokar-2/+2
2021-09-25Auto merge of #88343 - steffahn:fix_code_spacing, r=jyn514bors-78/+70
2021-09-25Apply 16 commits (squashed)Frank Steffahn-78/+70
2021-09-24consistent big O notationr00ster91-2/+2
2021-09-15docs(std): add docs for cof_from_cstr implsMichael Howell-0/+3
2021-08-24Fix typo “a Rc” → “an Rc”Frank Steffahn-2/+2
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the sa...Frank Steffahn-1/+1
2021-08-22Fix more “a”/“an” typosFrank Steffahn-2/+2
2021-08-22Fix typos “a”→“an”Frank Steffahn-6/+6
2021-08-08Auto merge of #86879 - YohDeadfall:stabilize-vec-shrink-to, r=dtolnaybors-2/+1
2021-08-08Bump shrink_to stabilization to Rust 1.56David Tolnay-1/+1
2021-08-05alloc: Use intra doc links for the reserve functionest31-1/+3
2021-07-06Stabilize Vec<T>::shrink_toYoh Deadfall-2/+1
2021-06-30Remove "length" doc aliasesAmanieu d'Antras-1/+0
2021-06-23Use HTTPS links where possibleSmitty-2/+2
2021-05-26Add inline attr to private CString::into_innerElichai Turkel-0/+1
2021-05-20Rollup merge of #85275 - CDirkx:memchr, r=m-ou-seGuillaume Gomez-1/+1
2021-05-18Add diagnostic item to `CStr`Mateusz Gacek-0/+1
2021-05-17Simplify `cfg(any(unix, target_os="redox"))` to just `cfg(unix)`Christiaan Dirkx-1/+1
2021-05-14Move `std::memchr` to `sys_common`Christiaan Dirkx-1/+1
2021-05-02Change 'NULL' to 'null'Brent Kerby-1/+1