Add example of estimating pi using Monte Carlo simulation to std::rand
Remove the dist function; it is more efficient to compare squared distances
Guide: patterns.

Fixes #4417.
Guide: iterators
Guide: array subscript notation
libcore: Get rid of useless mem::forget wrapper.
Change how libgetopts handles options grouped together

As soon as an option is found that takes an argument, consume the rest
of the string and store it into i_arg. Previously this would only happen
if the character after the option was not a recognized option.

Addresses issue #16348
Guide: ownership
Refactor BitV internals to not use macro, reduce duplication
Manual: add information about //!

Fixes #16569
librustc: Fix field offsets for packed structs.
Add test for passing/getting packed structs with ffi.
work around MinGW linker bug for ASLR on Windows

Closes #16514
Explain modulo in the guide.

Fixes #15954
Fixing bitvset is_disjoint, fixes #16587
Make comment about small bias in %.

Fixes #16354.
Fix underflow bug in core::str::Searcher::new for haystacks of length < 20
Add a test for the fix of issue 16589
A few minor documentation fixes
Include import name in import shadowing error messages.

This partially alleviates the confusing behavior in issue #16597