Don't run the print_box example

It was messing with travis?
This commit is contained in:
Alexandre Bury 2016-08-04 18:01:46 -07:00
parent cadb585948
commit 2ee5c6f4e9

View File

@ -118,7 +118,7 @@ impl Printer {
/// ///
/// # Examples /// # Examples
/// ///
/// ``` /// ```no_run
/// # use cursive::Printer; /// # use cursive::Printer;
/// # use cursive::theme; /// # use cursive::theme;
/// # let printer = Printer::new((6,4), theme::load_default()); /// # let printer = Printer::new((6,4), theme::load_default());
@ -136,6 +136,9 @@ impl Printer {
let borders = if let Some(borders) = self.theme.borders { let borders = if let Some(borders) = self.theme.borders {
borders borders
} else { } else {
// No border, no box...
// TODO: still allow other boxes?
// For instance make the check in the view.
return; return;
}; };