Fix typo in TitleBar::new

This commit is contained in:
Héctor Ramón Jiménez 2020-07-31 04:23:55 +02:00
parent 7977e970ca
commit 174565715e

View File

@ -19,7 +19,7 @@ impl<'a, Message, Renderer> TitleBar<'a, Message, Renderer>
where where
Renderer: pane_grid::Renderer, Renderer: pane_grid::Renderer,
{ {
/// Cretes a new [`TitleBar`] with the given title. /// Creates a new [`TitleBar`] with the given title.
/// ///
/// [`TitleBar`]: struct.TitleBar.html /// [`TitleBar`]: struct.TitleBar.html
pub fn new(title: impl Into<String>) -> Self { pub fn new(title: impl Into<String>) -> Self {