Skip to content
Closed
Changes from 2 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
cf05cd8
bootstrap: Output name of failed config in case of errors
devurandom May 7, 2017
defcfb2
Remove wrong or outdated info from CString docs.
mbrubeck May 9, 2017
e42875c
doc: break into 2 sentences
tshepang May 11, 2017
67a0d27
Ensure we walk the root module of the crate
May 11, 2017
43349e6
Upgrade some comments to doc comments
oli-obk May 11, 2017
641d053
Fix typo in size_hint example comment
mglagla May 11, 2017
a950c37
replace the type generalizer with one based on variance
nikomatsakis May 2, 2017
a4151ff
add a WF obligation if a type variable appears in bivariant position
nikomatsakis May 2, 2017
2490ee5
correct various error messages that changed
nikomatsakis May 3, 2017
fb7ba47
Pass crate attributes in visit.rs
May 11, 2017
084b67f
Annotate the license exceptions
brson May 11, 2017
b0c80a9
remove the #[inline] attribute from drop_in_place
arielb1 May 11, 2017
e6cde9f
Number of filtered out tests in tests summary
mersinvald May 11, 2017
75b69c4
Fix search when looking to sources
GuillaumeGomez May 11, 2017
68c1ce9
rustc_trans: do not attempt to truncate an i1 const to i1.
eddyb May 11, 2017
c85501b
box large variants in MIR
arielb1 May 11, 2017
c8b1559
Rollup merge of #41716 - nikomatsakis:issue-41677, r=arielb1
Mark-Simulacrum May 12, 2017
cf1594e
Rollup merge of #41820 - devurandom:patch-1, r=alexcrichton
Mark-Simulacrum May 12, 2017
323560e
Rollup merge of #41860 - mbrubeck:docs, r=nagisa
Mark-Simulacrum May 12, 2017
1db0f2b
Rollup merge of #41896 - tshepang:too-long, r=steveklabnik
Mark-Simulacrum May 12, 2017
18c7a45
Rollup merge of #41910 - mersinvald:master, r=Mark-Simulacrum
Mark-Simulacrum May 12, 2017
ec7c175
Rollup merge of #41912 - oli-obk:patch-3, r=eddyb
Mark-Simulacrum May 12, 2017
6d8c4ee
Rollup merge of #41916 - mglagla:typo, r=sfackler
Mark-Simulacrum May 12, 2017
2db3722
Rollup merge of #41918 - brson:lic, r=alexcrichton
Mark-Simulacrum May 12, 2017
329afe8
Rollup merge of #41919 - nrc:save-crate, r=eddyb
Mark-Simulacrum May 12, 2017
01dfd18
Rollup merge of #41920 - arielb1:inline-drop, r=eddyb
Mark-Simulacrum May 12, 2017
8467fd6
Rollup merge of #41921 - GuillaumeGomez:fix-search-style, r=steveklabnik
Mark-Simulacrum May 12, 2017
11475b3
Rollup merge of #41923 - eddyb:issue-41744, r=arielb1
Mark-Simulacrum May 12, 2017
b93dfec
Rollup merge of #41926 - arielb1:box-mir, r=eddyb
Mark-Simulacrum May 12, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions src/libstd/ffi/c_str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,10 @@ use str::{self, Utf8Error};
/// type is a static guarantee that the underlying bytes contain no interior 0
/// bytes and the final byte is 0.
///
/// A `CString` is created from either a byte slice or a byte vector. After
/// being created, a `CString` predominately inherits all of its methods from
/// the `Deref` implementation to `[c_char]`. Note that the underlying array
/// is represented as an array of `c_char` as opposed to `u8`. A `u8` slice
/// can be obtained with the `as_bytes` method. Slices produced from a `CString`
/// do *not* contain the trailing nul terminator unless otherwise specified.
/// A `CString` is created from either a byte slice or a byte vector. A `u8`
/// slice can be obtained with the `as_bytes` method. Slices produced from a
/// `CString` do *not* contain the trailing nul terminator unless otherwise
/// specified.
///
/// # Examples
///
Expand Down