rust/src/libcore
bors 5f2d4102c5 auto merge of #5479 : Kimundi/rust/str-dealloc, r=z0w0
This makes the `trim` and `substr` functions return a slice instead of an `~str`, and removes the unnecessary `Trimmable` trait (`StrSlice` already contains the same functionality).

Also moves the `ToStr` implementations for the three str types into the str module in anticipation of further untangling.
2013-03-21 19:39:53 -07:00
..
num back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> slice_unique 2013-03-21 14:05:57 +01:00
rt back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> slice_unique 2013-03-21 14:05:57 +01:00
task librustc: Enforce privacy for static methods. 2013-03-19 13:40:48 -07:00
unstable Un-renamed trim and substr functions. 2013-03-21 23:06:05 +01:00
at_vec.rs librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming 2013-03-18 17:21:14 -07:00
bool.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
cast.rs librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming 2013-03-18 17:21:14 -07:00
cell.rs librustc: Make the compiler ignore purity. 2013-03-18 17:21:16 -07:00
char.rs change some uses of fail_unless to assert_eq 2013-03-20 16:05:59 -07:00
cleanup.rs librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming 2013-03-18 17:21:14 -07:00
clone.rs impl Clone for ~T, ~[T], ~str 2013-03-15 18:26:59 -04:00
cmp.rs change some uses of fail_unless to assert_eq 2013-03-20 16:05:59 -07:00
comm.rs add stage3 markers where necessary for dist-snap 2013-03-20 13:48:57 -07:00
condition.rs librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming 2013-03-18 17:21:14 -07:00
container.rs librustc: Make the compiler ignore purity. 2013-03-18 17:21:16 -07:00
core.rc Switched over substr and trim functions in str to be non-allocating, temporary renamed them to better track use-sites 2013-03-21 23:06:04 +01:00
dlist.rs change some uses of fail_unless to assert_eq 2013-03-20 16:05:59 -07:00
either.rs change some uses of fail_unless to assert_eq 2013-03-20 16:05:59 -07:00
flate.rs librustc: Don't accept as Trait anymore; fix all occurrences of it. 2013-03-13 20:07:09 -07:00
from_str.rs bool: make the from_str function a FromStr impl 2013-03-06 13:05:59 -05:00
gc.rs librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming 2013-03-18 17:21:14 -07:00
hash.rs librustc: Convert all uses of assert over to fail_unless! 2013-03-07 22:37:57 -08:00
hashmap.rs librustc: Make the compiler ignore purity. 2013-03-18 17:21:16 -07:00
io.rs libcore: Remove a few possibly-cyclic imports in an effort to unbreak the tree on Linux 2013-03-21 08:06:20 -07:00
iter.rs librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming 2013-03-18 17:21:14 -07:00
kinds.rs Register snapshots 2012-12-17 16:44:27 -08:00
libc.rs libcore: Remove a few possibly-cyclic imports in an effort to unbreak the tree on Linux 2013-03-21 08:06:20 -07:00
logging.rs libcore: Remove extern mod { ... } from libcore. rs=deexterning 2013-03-07 22:32:51 -08:00
managed.rs librustc: Convert all uses of assert over to fail_unless! 2013-03-07 22:37:57 -08:00
mutable.rs librustc: Make the compiler ignore purity. 2013-03-18 17:21:16 -07:00
nil.rs add a TotalOrd impl for the unit type 2013-03-10 13:54:51 -04:00
ops.rs Make ~fn non-copyable, make &fn copyable, split barefn/closure types, 2013-02-07 05:53:30 -08:00
option.rs librustc: Make the compiler ignore purity. 2013-03-18 17:21:16 -07:00
os.rs librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming 2013-03-18 17:21:14 -07:00
owned.rs Adding missing imports for tests, and gate off others 2013-03-04 12:27:01 -05:00
path.rs back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> slice_unique 2013-03-21 14:05:57 +01:00
pipes.rs librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming 2013-03-18 17:21:14 -07:00
prelude.rs Switched over substr and trim functions in str to be non-allocating, temporary renamed them to better track use-sites 2013-03-21 23:06:04 +01:00
ptr.rs librustc: Make the compiler ignore purity. 2013-03-18 17:21:16 -07:00
rand.rs librustc: Don't accept as Trait anymore; fix all occurrences of it. 2013-03-13 20:07:09 -07:00
reflect.rs librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming 2013-03-18 17:21:14 -07:00
repr.rs auto merge of #5455 : pcwalton/rust/framework, r=catamorphism 2013-03-20 16:42:47 -07:00
result.rs librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming 2013-03-18 17:21:14 -07:00
run.rs back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> slice_unique 2013-03-21 14:05:57 +01:00
stackwalk.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
str.rs Un-renamed trim and substr functions. 2013-03-21 23:06:05 +01:00
sys.rs librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming 2013-03-18 17:21:14 -07:00
to_bytes.rs librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming 2013-03-18 17:21:14 -07:00
to_str.rs Switched over substr and trim functions in str to be non-allocating, temporary renamed them to better track use-sites 2013-03-21 23:06:04 +01:00
trie.rs trie: make impl pub 2013-03-21 17:50:12 -04:00
tuple.rs librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming 2013-03-18 17:21:14 -07:00
unicode.rs Make ~fn non-copyable, make &fn copyable, split barefn/closure types, 2013-02-07 05:53:30 -08:00
unstable.rs librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming 2013-03-18 17:21:14 -07:00
util.rs librustc: Convert all uses of assert over to fail_unless! 2013-03-07 22:37:57 -08:00
vec.rs back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> slice_unique 2013-03-21 14:05:57 +01:00