Fix documented example to fix doc-tests on CI

This commit is contained in:
Jens Krause 2019-01-09 19:42:01 +01:00 committed by Florian Dehau
parent 16372f7847
commit f7c6620e25

View File

@ -19,7 +19,7 @@ use crate::widgets::{Block, Widget};
/// .block(Block::default().title("Tabs").borders(Borders::ALL)) /// .block(Block::default().title("Tabs").borders(Borders::ALL))
/// .titles(&["Tab1", "Tab2", "Tab3", "Tab4"]) /// .titles(&["Tab1", "Tab2", "Tab3", "Tab4"])
/// .style(Style::default().fg(Color::White)) /// .style(Style::default().fg(Color::White))
/// .highlight_style(Style::default().fg(Color::Yellow)); /// .highlight_style(Style::default().fg(Color::Yellow))
/// .divider(DOT); /// .divider(DOT);
/// # } /// # }
/// ``` /// ```