Do not run Cursive::new test

This commit is contained in:
Alexandre Bury 2019-02-22 16:14:07 -08:00
parent 8fe9a1d54e
commit 0fbb1c9cdd

View File

@ -134,7 +134,7 @@ impl Cursive {
///
/// Examples:
///
/// ```rust
/// ```rust,no_run
/// # use cursive::{Cursive, backend};
/// let siv = Cursive::new(backend::curses::n::Backend::init);
/// let siv = Cursive::ncurses(); // equivalent to the line above.