Remove unneeded variable from example

Apparently doctests swallow *all* of their output, including compiler
warnings, by default.
This commit is contained in:
Jonas Schievink 2017-07-25 22:58:18 +02:00
parent 8515db4c82
commit df5c8fa4b0
1 changed files with 0 additions and 1 deletions

View File

@ -207,7 +207,6 @@ impl<'lua> String<'lua> {
/// # use rlua::{Lua, String};
/// # fn main() {
/// let lua = Lua::new();
/// let globals = lua.globals();
///
/// let non_utf8: String = lua.eval(r#" "test\xff" "#, None).unwrap();
/// assert!(non_utf8.to_str().is_err()); // oh no :(