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: array subscript notation
Guide: ownership
Cargo begins version number at 0.0.1 instead of 0.1.0
Cargo generates "Hello, world!" instead of "Hello world!"
`input_num` is used is used instead of `guess` further in the guide
Use new Cargo file syntax
Use new Cargo starting version number
Remove repeated section and make file path generic
librustc: When checking static method calls to unboxed closures, look at
the right trait and take the method name into account.

Closes #16599.
Guide: macros
librustc: Fix bogus logic for static calls to unboxed closures in the
expression use visitor.

Closes #16166.
fixes some syntax highlighting annotations
Fix error message for WindowsPath::new

Originally discovered here: http://www.reddit.com/r/rust/comments/2dbg3j/hm_unwrap_is_being_renamed_to_assert/cjnxiax
Guide: unsafe
auto merge of #16280 : cburgdorf/rust/patch-3, r=steveklabnik
docs: don't claim struct layout is specified, but mention repr
auto merge of #16331 : steveklabnik/rust/guide_macros_and_unsafe, r=brson

The last two sections of the guide, and a small conclusion. I suck at conclusions.

I also realized I never covered strings, so I'm going to put that section up before we're actually 'done.'
librustc: handle repr on structs, require it for ffi, unify with packed

As of RFC 18, struct layout is undefined. Opting into a C-compatible struct
layout is now down with #[repr(C)]. For consistency, specifying a packed
layout is now also down with #[repr(packed)]. Both can be specified.

To fix errors caused by this, just add #[repr(C)] to the structs, and change
 #[packed] to #[repr(packed)]

Closes #14309

[breaking-change]