about summary refs log tree commit diff
path: root/src/libcore/trie.rs
AgeCommit message (Collapse)AuthorLines
2013-05-10core: Use the new `for` protocolAlex Crichton-0/+62
2013-05-07auto merge of #6292 : thestinger/rust/cleanup, r=brsonbors-3/+12
2013-05-07Add pop() and swap() to the Map traitAlex Crichton-21/+54
2013-05-06remove borrowck workarounds from the containersDaniel Micay-3/+12
2013-05-04Register snapshotsBrian Anderson-95/+0
2013-04-10core: changes in response to #5656Niko Matsakis-1/+96
2013-04-10Revert map.each to something which takes two parametersNiko Matsakis-34/+28
rather than a tuple. The current setup iterates over `BaseIter<(&'self K, &'self V)>` where 'self is a lifetime declared *in the each method*. You can't place such a type in the impl declaration. The compiler currently allows it, but this will not be legal under #5656 and I'm pretty sure it's not sound now.
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-39/+39
2013-03-26librustc: Modify all code to use new lifetime binder syntaxPatrick Walton-3/+4
2013-03-26librustc: Remove all uses of the old `[T * N]` fixed-length vector syntaxPatrick Walton-1/+1
2013-03-25trie: improve docstringDaniel Micay-1/+1
2013-03-24expose find_mut in the Map traitDaniel Micay-6/+6
2013-03-24trie: add find_mut methodDaniel Micay-1/+32
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-3/+3
2013-03-22trie: make the TrieSet impl publicDaniel Micay-2/+1
2013-03-22trie: inline the other TrieSet wrapper methodsDaniel Micay-0/+3
2013-03-22trie: rm workaround for issue #3469Daniel Micay-2/+1
2013-03-22libcore: Remove `pure` from libcore. rs=depurePatrick Walton-23/+23
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-3/+3
2013-03-21trie: make impl pubDaniel Micay-3/+1
2013-03-18librustc: Make the compiler ignore purity.Patrick Walton-4/+4
For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed.
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-6/+6
notation. rs=delifetiming
2013-03-15add a test for the chunk functionDaniel Micay-0/+22
2013-03-15core: fix trie chunk functionGraydon Hoare-2/+2
2013-03-15add constructor to TrieSet (was missing)Daniel Micay-0/+7
2013-03-13add the mutate_values method to the Map traitDaniel Micay-11/+11
2013-03-11libsyntax: Stop parsing bare functions in preparation for switching them overPatrick Walton-1/+4
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-12/+12
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-32/+32
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-2/+2
are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations.
2013-03-05trie: remove the Copy requirementDaniel Micay-16/+30
2013-03-05trie: fix breaking out of the iterators earlyDaniel Micay-12/+55
2013-03-05trie: fix each_reverseDaniel Micay-1/+37
2013-03-02add an initial radix trie implementationDaniel Micay-0/+369