rust/src/test
bors 6bc48b63f3 auto merge of #9192 : Kimundi/rust/master, r=huonw
A SendStr is a string that can hold either a ~str or a &'static str.
This can be useful as an optimization when an allocation is sometimes needed but the common case is statically known.

Possible use cases include Maps with both static and owned keys, or propagating error messages across task boundaries.

SendStr implements most basic traits in a way that hides the fact that it is an enum; in particular things like order and equality are only determined by the content of the wrapped strings.

This basically reimplements #7599 and has a use case for replacing an similar type in `std::rt::logging` ( Added in #9180).
2013-09-16 09:00:44 -07:00
..
auxiliary auto merge of #9206 : alexcrichton/rust/issue-9188, r=catamorphism 2013-09-16 02:45:49 -07:00
bench Remove {uint,int,u64,i64,...}::from_str,from_str_radix 2013-09-15 14:29:16 +02:00
codegen Fix warnings it tests 2013-08-17 08:42:35 -07:00
compile-fail Document all of the format! related macros 2013-09-15 01:09:00 -07:00
debug-info debuginfo: Fix style nits for pull request. 2013-09-15 12:28:25 +02:00
pretty Fix the empty-impl tests 2013-09-11 23:58:30 +00:00
run-fail make ! support the equality/ordering operators 2013-09-13 17:31:59 -04:00
run-pass auto merge of #9192 : Kimundi/rust/master, r=huonw 2013-09-16 09:00:44 -07:00
run-pass-fulldeps quote_*! macros take an ExtCtx 2013-08-18 13:14:15 -04:00