about summary refs log tree commit diff
path: root/src/libcollections
AgeCommit message (Collapse)AuthorLines
2014-07-24Main examples for TrieSet and TrieMap.Jonas Hietala-2/+67
2014-07-24Document TrieSet and TrieMap methods.Jonas Hietala-16/+191
2014-07-24Fix deprecation warning in deque.rsAdolfo Ochagavía-1/+1
2014-07-24Add `string::raw::from_buf`Adolfo Ochagavía-27/+39
2014-07-24Deprecated `String::from_raw_parts`Adolfo Ochagavía-9/+21
Replaced by `string::raw::from_parts` [breaking-change]
2014-07-24Deprecated `str::raw::from_buf_len`Adolfo Ochagavía-23/+31
Replaced by `string::raw::from_buf_len` [breaking-change]
2014-07-24Deprecated `str::raw::from_byte`Adolfo Ochagavía-2/+3
Use `string:raw::from_utf8` instead [breaking-change]
2014-07-24Deprecated `str::raw::from_utf8_owned`Adolfo Ochagavía-5/+17
Replaced by `string::raw::from_utf8` [breaking-change]
2014-07-24Deprecated `str::raw::from_c_str`Adolfo Ochagavía-12/+3
Use `string::raw::from_buf` instead [breaking-change]
2014-07-24Remove OwnedStr traitAdolfo Ochagavía-29/+0
This trait was only implemented by `String`. It provided the methods `into_bytes` and `append`, both of which **are already implemented as normal methods** of `String` (not as trait methods). This change improves the consistency of strings. This shouldn't break any code, except if somebody has implemented `OwnedStr` for a user-defined type.
2014-07-24Document PriorityQueue.Jonas Hietala-12/+177
2014-07-24Move contructors to the top of PriorityQueue.Jonas Hietala-19/+19
2014-07-23Just land alreadyBrian Anderson-43/+43
2014-07-23collections: Tweak docs for pushBrian Anderson-4/+13
2014-07-23Remove kludgy imports from vec! macroBrian Anderson-25/+13
2014-07-23collections: Deprecate shift/unshiftBrian Anderson-0/+2
Use insert/remove instead.
2014-07-23collections: Make push_back/pop_back default methodsBrian Anderson-38/+18
2014-07-23collections: Move push/pop docs to MutableSeqBrian Anderson-23/+23
2014-07-23collections: Deprecate push_back/pop_backBrian Anderson-0/+6
2014-07-23collections: Move push/pop to MutableSeqBrian Anderson-75/+121
Implement for Vec, DList, RingBuf. Add MutableSeq to the prelude. Since the collections traits are in the prelude most consumers of these methods will continue to work without change. [breaking-change]
2014-07-23auto merge of #15902 : nham/rust/hash_triemap, r=alexcrichtonbors-0/+55
cc #15294
2014-07-23auto merge of #15749 : vhbit/rust/treemap-doc-fixes, r=alexcrichtonbors-21/+21
1. Removed obsolete comment regarding recursive/iteration implementations of tree_find_with/tree_find_mut_with 2. Replaced easy breakable find_with example with simpler one (which only removes redundant allocation during search)
2014-07-23TreeMap examples fixesValerii Hiora-21/+21
1. Removed obsolete comment regarding recursive/iteration implementations of tree_find_with/tree_find_mut_with 2. Replaced easy breakable find_with example with simpler one (which only removes redundant allocation during search)
2014-07-22auto merge of #15894 : treeman/rust/vec-doc, r=alexcrichtonbors-139/+233
Fill in examples for missing methods. Opt for `vec![]` instead of `vec!()`.
2014-07-22Implement PartialEq, Eq for TrieMap, TrieSetnham-18/+46
2014-07-22Derive Hash for TrieMap and TrieSetnham-0/+27
2014-07-22auto merge of #15857 : treeman/rust/doc-dijkstra-example, r=alexcrichtonbors-1/+137
I wanted to have a slightly larger example compared to the method examples, but I'm unsure how it worked out. Feedback would nice.
2014-07-22Main example for priority queue using dijkstra's algorithm.Jonas Hietala-1/+137
2014-07-22doc: Normalize example styleJonas Hietala-62/+53
Remove unnecessary `use std::vec::Vec`. Use ``` code blocks with rust as default instead of spelling it out.
2014-07-22doc: Vec::from_raw_parts.Jonas Hietala-5/+37
Also more explicit raw pointer handling in unsafe examples.
2014-07-22doc: Fill vec documentation with examples.Jonas Hietala-1/+72
Add more useful functions to main example.
2014-07-22doc: Use vec![] instead of vec!() in Vec.Jonas Hietala-77/+77
2014-07-22auto merge of #15867 : cmr/rust/rewrite-lexer4, r=alexcrichtonbors-1/+7
2014-07-21Add a ton of ignore-lexer-testCorey Richardson-0/+2
2014-07-21ignore-lexer-test to broken files and remove some tray hyphensCorey Richardson-1/+5
I blame @ChrisMorgan for the hyphens.
2014-07-21Test fixes from the rollupAlex Crichton-1/+1
Closes #15690 (Guide: improve error handling) Closes #15729 (Guide: guessing game) Closes #15751 (repair macro docs) Closes #15766 (rustc: Print a smaller hash on -v) Closes #15815 (Add unit test for rlibc) Closes #15820 (Minor refactoring and features in rustc driver for embedders) Closes #15822 (rustdoc: Add an --extern flag analagous to rustc's) Closes #15824 (Document Deque trait and bitv.) Closes #15832 (syntax: Join consecutive string literals in format strings together) Closes #15837 (Update LLVM to include NullCheckElimination pass) Closes #15841 (Rename to_str to to_string) Closes #15847 (Purge #[!resolve_unexported] from the compiler) Closes #15848 (privacy: Add publically-reexported foreign item to exported item set) Closes #15849 (fix string in from_utf8_lossy_100_multibyte benchmark) Closes #15850 (Get rid of few warnings in tests) Closes #15852 (Clarify the std::vec::Vec::with_capacity docs)
2014-07-21Clarify the std::vec::Vec docs regarding capacityP1start-3/+37
2014-07-21fix string in from_utf8_lossy_100_multibyte benchmarkTed Horst-2/+1
2014-07-21Simplify and cleanup bitv examples.Jonas Hietala-74/+120
2014-07-21Describe BitPositions and TwoBitPositions.Jonas Hietala-0/+2
2014-07-21Polish bitv docs.Jonas Hietala-56/+65
2014-07-21Enclose None as `None`.Jonas Hietala-4/+4
2014-07-21Main bitv example: prime sieve.Jonas Hietala-0/+49
2014-07-21Move intersection above difference and symmetric_differance.Jonas Hietala-29/+29
So all comes in the order union, intersection, difference and symmetric_difference.
2014-07-21Document BitvSet.Jonas Hietala-19/+297
2014-07-21Document Bitv.Jonas Hietala-94/+307
2014-07-21Group union, intersect and difference in Bitv.Jonas Hietala-22/+22
2014-07-21Place union as the first function, for consistency.Jonas Hietala-12/+12
2014-07-21Move in-place functions below their iterator variants.Jonas Hietala-24/+24
2014-07-21Document Deque.Jonas Hietala-10/+173