small doc fixes

We don't need this &mut, and vec could use []s
RFC 248? I think you meant RFC 438.

There ain’t an RFC 248, while 438 looks to be what is being referred to:
https://github.com/rust-lang/rfcs/blob/master/text/0438-precedence-of-plus.md
fix expand_quote_ty function as parse_ty was changed and needs no arguments now
Fix typo in reference.md
Allow trailing commas in array patterns and attributes
Simplify `RefCell` code a bit, make `deref` a no-op.
rustdoc: Check for href when prepending rootPath

Fixes #18354.
Link regions in `ref` bindings from fn arguments.
better wording
replace 'but' with 'and'
Improve documentation of checked_* functions
Update comment to current file path for intrinsics
Test for associated types ICE

closes #19121
Utilize fewer reexports

In regards to:

https://github.com/rust-lang/rust/issues/19253#issuecomment-64836729

This commit:

* Changes the #deriving code so that it generates code that utilizes fewer
  reexports (in particur Option::* and Result::*), which is necessary to
  remove those reexports in the future
* Changes other areas of the codebase so that fewer reexports are utilized
Fixed out of date comment on `copy_memory`
Remove outdated comment.

https://github.com/rust-lang/rust/pull/19472#issuecomment-65370278
rustdoc: Fixed a missing rendering of ForeignStaticItems.
rustdoc: Refactored various uses of ItemType.

In particular, ItemType variants are no longer reexported. Since
we already do namespace them via `item_type` mod, it's fine.
rustdoc: Removed Foreign{Function,Static} item types.

They are just (unsafe) functions and static items to most users
and even compilers! The metadata doesn't distinguish them, so Rustdoc
ended up producing broken links (generated `ffi.*.html`, links to
`fn.*.html`). It would be best to avoid this pitfall at all.
rustdoc: Avoid rendering foreign items to the sidebar.

Otherwise the generated documentation is 30% larger. The sidebar
renders an entry for each item to all items, so large modules have
O(n^2) items rendered in the sidebars. Not a correct solution, but
at least it works.