Matt Ickstadt
0c3c43c800
Remove Splice struct return value from String::splice
2017-08-26 15:07:32 -05:00
Guillaume Gomez
0a6c724dde
Add missing link in string doc
2017-08-25 23:09:00 +02:00
Guillaume Gomez
b88773f588
Add missing links for String module and type
2017-08-18 17:17:46 +02:00
Zack M. Davis
1b6c9605e4
use field init shorthand EVERYWHERE
...
Like #43008 (f668999
), but _much more aggressive_.
2017-08-15 15:29:17 -07:00
bors
82be83cf74
Auto merge of #43500 - murarth:string-retain, r=alexcrichton
...
Add method `String::retain`
Behaves like `Vec::retain`, accepting a predicate `FnMut(char) -> bool`
and reducing the string to only characters for which the predicate
returns `true`.
2017-08-15 16:21:28 +00:00
Murarth
618ac89d25
Add method String::retain
...
Behaves like `Vec::retain`, accepting a predicate `FnMut(char) -> bool`
and reducing the string to only characters for which the predicate
returns `true`.
2017-08-14 20:42:26 -07:00
Bastien Orivel
3ab86fbab2
Fix some typos
2017-08-12 14:01:11 +02:00
Natalie Boehm
fac6ce79e5
Fix trait name Deref
2017-08-08 16:57:11 -04:00
Natalie Boehm
40f5b308bc
Update solution to add using &*
as well as as_str()
2017-08-08 14:57:34 -04:00
Natalie Boehm
2a62b91343
Update explanation of deref coercion
2017-08-07 13:56:20 -04:00
Natalie Boehm
b298a58c78
Update String Deref to explain why using &String does not always work
2017-08-04 12:25:05 -04:00
Mark Simulacrum
32cbbffea2
Rollup merge of #42227 - ollie27:into_to_from, r=aturon
...
Convert Intos to Froms.
This is a resubmission of #42129 without `impl<T> From<Vec<T>> for Box<[T]>`.
2017-07-04 07:41:33 -06:00
Steven Fackler
0a9c13624d
Revert "Stabilize RangeArgument"
...
This reverts commit 143206d54d
.
2017-06-30 08:34:53 -10:00
Steven Fackler
143206d54d
Stabilize RangeArgument
...
Move it and Bound to core::ops while we're at it.
Closes #30877
2017-06-24 19:20:57 -07:00
kennytm
4711982314
Removed as many "```ignore" as possible.
...
Replaced by adding extra imports, adding hidden code (`# ...`), modifying
examples to be runnable (sorry Homura), specifying non-Rust code, and
converting to should_panic, no_run, or compile_fail.
Remaining "```ignore"s received an explanation why they are being ignored.
2017-06-23 15:31:53 +08:00
Oliver Middleton
0d885efe16
Update version numbers for From impls
2017-06-21 01:18:19 +01:00
Clar Charr
5a97036b69
Convert Intos to Froms.
2017-06-21 01:18:18 +01:00
Stepan Koltsov
ea149b8571
Utf8Lossy type with chunks iterator and impl Display and Debug
2017-06-15 20:42:35 +01:00
Murarth
eadda7665e
Merge crate collections
into alloc
2017-06-13 23:37:34 -07:00