From e05b80cec1f48beb022b3ec5e1c61cd5c3343be6 Mon Sep 17 00:00:00 2001 From: Moritz <70905852+mschulteg@users.noreply.github.com> Date: Wed, 16 Jun 2021 17:14:16 +0200 Subject: [PATCH] doc: fix typos in comments. (#486) --- examples/block.rs | 2 +- examples/list.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/block.rs b/examples/block.rs index 26d00da..d7c84f1 100644 --- a/examples/block.rs +++ b/examples/block.rs @@ -31,7 +31,7 @@ fn main() -> Result<(), Box> { // with at least a margin of 1 let size = f.size(); - // Surounding block + // Surrounding block let block = Block::default() .borders(Borders::ALL) .title("Main block with round corners") diff --git a/examples/list.rs b/examples/list.rs index ea36a40..086b1ba 100644 --- a/examples/list.rs +++ b/examples/list.rs @@ -106,7 +106,7 @@ fn main() -> Result<(), Box> { let events = Events::new(); - // Create a new app with some exapmle state + // Create a new app with some example state let mut app = App::new(); loop { @@ -171,7 +171,7 @@ fn main() -> Result<(), Box> { Style::default().add_modifier(Modifier::ITALIC), ), ]); - // The event gets it's own line + // The event gets its own line let log = Spans::from(vec![Span::raw(event)]); // Here several things happen: