about summary refs log tree commit diff
path: root/src/libstd/ffi/c_str.rs
AgeCommit message (Expand)AuthorLines
2020-07-27mv std libs to library/mark-1788/+0
2020-07-18Update stability attribute for CStr indexingDavid Tolnay-1/+1
2020-07-18impl Index<RangeFrom<usize>> for CStr1011X-0/+38
2020-06-15Rollup merge of #73139 - poliorcetics:cstring-from-vec-with-nul, r=dtolnayRalf Jung-6/+181
2020-06-14Update to use the new error type and correctly compile the doc testsAlexis Bourget-16/+21
2020-06-14Add a new error type for the new methodAlexis Bourget-0/+96
2020-06-14Removing the TryFrom implAlexis Bourget-14/+0
2020-06-11Fix the link in the TryFrom implAlexis Bourget-1/+1
2020-06-11Add a TryFrom<Vec<u8>> impl that mirror from_vec_with_nulAlexis Bourget-0/+14
2020-06-09Move to unstable, linking the issueAlexis Bourget-2/+2
2020-06-08Add methods to go from a nul-terminated Vec<u8> to a CString, checked and unc...Alexis Bourget-3/+77
2020-06-03Added a warning to CString::into_raw tooAlexis Bourget-0/+5
2020-06-03Added the documentation about length to CString::from_rawAlexis Bourget-0/+6
2020-04-22impl From<Cow> for boxed slices and stringsJosh Stone-0/+11
2020-04-06Implement ToOwned::clone_into for CStrJosh Stone-0/+17
2020-02-15Rollup merge of #64069 - danielhenrymantilla:feature/cstring_from_vec_of_nonz...Dylan DPC-0/+27
2020-02-04Added From<Vec<NonZeroU8>> for CStringDaniel Henry-Mantilla-0/+27
2020-01-07Remove insignificant notes from CStr documentationDavid Tolnay-10/+0
2019-12-24Deprecate Error::description for realDavid Tolnay-0/+5
2019-12-22Format the worldMark Rousskov-31/+32
2019-12-21Require issue = "none" over issue = "0" in unstable attributesRoss MacArthur-1/+1
2019-12-18Propagate cfg bootstrapMark Rousskov-3/+2
2019-12-13Require stable/unstable annotations for the constness of all stable functions...Oliver Scherer-1/+3
2019-10-18Avoid realloc in `CString::new`Shotaro Yamada-1/+25
2019-10-13Implement Error::source on IntoStringErrorLinus Färnstrand-1/+1
2019-09-14Rollup merge of #64203 - alexreg:rush-pr-2, r=centrilMazdak Farrokhzad-1/+1
2019-09-09Update added backticks around a function callhman523-1/+1
2019-09-09Fixed documentation within c_str::from_ptrhman523-2/+4
2019-09-06A few cosmetic improvements to code & comments in liballoc and libcoreAlexander Regueiro-1/+1
2019-08-22Change variables names to be more consistent.Tomasz Różański-16/+16
2019-08-11Rollup merge of #61969 - MikailBag:master, r=CentrilMark Rousskov-0/+6
2019-08-09Add FIXME-s that some types should be transparentMikail Bagishov-0/+6
2019-08-02Remove extraneous {} in use stmts in doc comments.Bruce Mitchener-2/+2
2019-07-13Fix miri error in into_inner() of CStringAntoine PLASKOWSKI-5/+6
2019-05-01as_ptr returns a read-only pointerRalf Jung-2/+7
2019-03-31libstd: deny(elided_lifetimes_in_paths)Mazdak Farrokhzad-7/+7
2019-03-09Use lifetime contravariance to elide more lifetimes in core+alloc+stdScott McMurray-6/+6
2019-02-28libstd => 2018Taiki Endo-22/+22
2019-02-20Rollup merge of #58553 - scottmcm:more-ihle, r=Centrilkennytm-2/+2
2019-02-17Use more impl header lifetime elisionScott McMurray-2/+2
2019-02-10libs: doc commentsAlexander Regueiro-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-3/+3
2018-12-04cleanup: remove static lifetimes from consts in libstdljedrz-2/+2
2018-11-12Auto merge of #55278 - Centril:constification-1, r=alexcrichtonbors-1/+1
2018-11-10Fix documentation typos.Bruce Mitchener-1/+1
2018-11-10revert making internal APIs const fn.Mazdak Farrokhzad-2/+2
2018-11-10reduce list to functions callable in const ctx.Mazdak Farrokhzad-2/+2
2018-11-10constify parts of libstd.Mazdak Farrokhzad-5/+5
2018-10-02make `CStr::from_bytes_with_nul_unchecked()` a const fnAustin Bonander-1/+11