Distinguish tuple elements by index in mem_categorization. Fixes #5362.
replace old_iter::repeat with the Times trait
Add Ptr::to_option method
Use assert_eq! rather than assert! where possible
auto merge of #6601 : cmr/rust/assert_eq, r=Aatch
auto merge of #6106 : thestinger/rust/iter, r=bstrie

I don't have a strong opinion on the function vs. method, but there's no point in having both. I'd like to make a `repeat` adaptor like Python/Haskell for turning a value into an infinite stream of the value, so this has to at least be renamed.
Add additional documentation in core::io.

Added docs for stdout, stderr, print, and println.
Add docs for stdin in core::io.
Added note about prelude inclusion.
Elaborate a bit in the Reader docs regarding stream position.

Had a conversation with @cmr in IRC about some places that these
docs were confusing. The functions that advance the stream now say so.

In addition, I think that calling out the similarities to familliar C
functions should help people coming from other languages.
auto merge of #6620 : steveklabnik/rust/stdin_docs, r=brson
Fix trailing whitespace
Reexport static trait methods on traits in the same module.
Remove unused variable.
Explain an odd conditional check.
auto merge of #6432 : thomaslee/rust/issue-4202-02, r=catamorphism

My earlier fix for #4202 would not work correctly if the trait being exported was a top-level item relative to the module from which it was being exported. An example that would not work correctly with the original patch:

    // foo.rs

    pub use Foo = self::Bar;

    pub trait Bar {
      pub fn bar() -> Self;
    }

    impl Bar for int {
      pub fn bar() -> int { 42 }
    }

    // bar.rs

    fn main() {
      foo::Foo::bar()
    }

This is now supported.

I believe this change will allow the GenericPath trait to be exported from core::path as Path in such a manner, which should allow #5389 to move forward.
auto merge of #6619 : steveklabnik/rust/stdout_docs, r=thestinger

Added docs for stdout, stderr, print, and println.
Add a better introduction for the io module.

Let's actually give a top-level description of what's in here, eh?
Implement unimplemented const binops
Fix LLVMConst{I,F}Cmp