summary refs log tree commit diff
path: root/src/libstd/to_str.rs
AgeCommit message (Collapse)AuthorLines
2013-12-15Rename To{Str,Bytes}Consume traits to Into*.Chris Morgan-1/+1
That is: - `ToStrConsume` → `IntoStr`; - `ToBytesConsume` → `IntoBytes`.
2013-12-11Make 'self lifetime illegal.Erik Price-1/+1
Also remove all instances of 'self within the codebase. This fixes #10889.
2013-09-30std: Remove usage of fmt!Alex Crichton-4/+4
2013-09-09rename `std::iterator` to `std::iter`Daniel Micay-1/+1
The trait will keep the `Iterator` naming, but a more concise module name makes using the free functions less verbose. The module will define iterables in addition to iterators, as it deals with iteration in general.
2013-08-18More spelling corrections.Huon Wilson-1/+1
2013-08-03remove obsolete `foreach` keywordDaniel Micay-5/+5
this has been replaced by `for`
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-6/+7
2013-07-24ToStr for HashMap does not need value to implement Eq or HashStepan Koltsov-6/+18
2013-07-18Fix warnings in libstd and librusti testsblake2-ppc-1/+1
2013-07-17test: Fix tests.Patrick Walton-1/+0
2013-07-13Split mutable methods out of Set and MapSteven Fackler-1/+1
Fixes most of #4989. I didn't add Persistent{Set,Map} since the only persistent data structure is fun_treemap and its functionality is currently too limited to build a trait out of.
2013-06-28librustc: Fix merge fallout and test cases.Patrick Walton-1/+1
2013-06-28librustc: Disallow "mut" from distributing over bindings.Patrick Walton-6/+11
This is the backwards-incompatible part of per-binding-site "mut".
2013-06-25Deny common lints by default for lib{std,extra}Alex Crichton-2/+2
2013-06-25Add missing import to testsJames Miller-1/+1
2013-06-25Warning policeJames Miller-2/+0
2013-06-24remove old_iterDaniel Micay-1/+0
the `test/run-pass/class-trait-bounded-param.rs` test was xfailed and written in an ancient dialect of Rust so I've just removed it this also removes `to_vec` from DList because it's provided by `std::iter::to_vec` an Iterator implementation is added for OptVec but some transitional internal iterator methods are still left
2013-06-23std::to_str: Use .iter() for HashMap and HashSetblake2-ppc-2/+3
2013-06-23vec: remove BaseIter implementationDaniel Micay-3/+5
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-9/+9
2013-06-17Improved std::asciiMarvin Löbel-1/+1
- Fixed tests - Added methods - Renamed casting methods to be shorter closes #7150
2013-06-06libstd: use fmt! in to_str impl for (one|two)-tupleRamkumar Ramachandra-2/+2
The three-tuple uses fmt!, and there's no reason to hand-concatenate strings. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-06-06libstd: fix comment in to_str impl of tupleRamkumar Ramachandra-2/+2
There is a pointer to #4760, which is a closed issue. The real issue is the more general problem described in #4653. Correct the comment. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-06-04librustc: Disallow multiple patterns from appearing in a "let" declaration.Patrick Walton-15/+15
You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
2013-05-31bool: rm functions duplicating methodsDaniel Micay-4/+0
2013-05-30Require documentation by default for libstdAlex Crichton-1/+3
Adds documentation for various things that I understand. Adds #[allow(missing_doc)] for lots of things that I don't understand.
2013-05-28Remove unnecessary allocations flagged by lintSeo Sanghyeon-2/+2
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+240
This only changes the directory names; it does not change the "real" metadata names.