]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #23167 - rprichard:fix-plugin-rustbook, r=steveklabnik
authorbors <bors@rust-lang.org>
Sun, 8 Mar 2015 12:10:42 +0000 (12:10 +0000)
committerbors <bors@rust-lang.org>
Sun, 8 Mar 2015 12:10:42 +0000 (12:10 +0000)
 * "let mut text" was previously of &String type.  Now it is of &str type.

 * Update the slicing syntax.  Both &text[] and text.slice_from() evaluate
   to a &str.

 * We were passing a u32 to expr_usize.  Call expr_u32 instead.

r? @steveklabnik
Fixes #23166


Trivial merge