about summary refs log tree commit diff
path: root/library/std/src/ffi
AgeCommit message (Expand)AuthorLines
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
2021-04-27Override `clone_from` method for PathBuf and OsStringBenoît du Garreau-1/+13
2021-03-31Add a few missing links, fix a typoFrank Steffahn-1/+1
2021-03-31Fix documentation of conversion from String to OsStringFrank Steffahn-1/+1
2021-03-29ffi::c_str smaller as_bytesklensy-2/+4
2021-03-28ffi::c_str added tests for empty stringsklensy-0/+16
2021-03-24Rollup merge of #83353 - m-ou-se:io-error-avoid-alloc, r=nagisaDylan DPC-1/+1
2021-03-22Rollup merge of #80193 - zseri:stabilize-osstring-ascii, r=m-ou-seDylan DPC-12/+6
2021-03-21Use io::Error::new_const everywhere to avoid allocations.Mara Bos-1/+1
2021-03-21Bump osstring_ascii stabilization version to 1.53.0.Mara Bos-6/+6
2021-03-14Rollup merge of #82121 - lopopolo:pathbuf-osstring-extend, r=joshtriplettYuki Okushi-0/+86
2021-03-05stabilize feature(osstring_ascii)zseri-12/+6
2021-03-03Add impls for iterators of Cow<OsStr>Ryan Lopopolo-0/+34
2021-02-25Convert primitives to use intra-doc linksJoshua Nelson-4/+2
2021-02-23Rollup merge of #82128 - anall:feature/add_diagnostic_items, r=davidtwcoDylan DPC-0/+2
2021-02-16Optimize FromIterator<OsString> to reuse the first allocationRyan Lopopolo-4/+11
2021-02-16a few more diagnostic itemsAndrea Nall-0/+1
2021-02-15requested/proposed changesAndrea Nall-1/+1
2021-02-15add diagnostic itemsAndrea Nall-0/+1
2021-02-14Implement Extend and FromIterator for OsStringRyan Lopopolo-0/+45
2021-02-10Seal the CommandExt, OsStrExt and OsStringExt traitsAmanieu d'Antras-0/+8
2021-02-03OsStr eq_ignore_ascii_case takes arg by valueTyler Ruckinger-1/+1
2021-01-26shrink_to shouldn't panic on len greater than capacityThom Wiggers-2/+1