doc: fix typos in comments. (#486)

This commit is contained in:
Moritz 2021-06-16 17:14:16 +02:00 committed by GitHub
parent 23d5fbde56
commit e05b80cec1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ fn main() -> Result<(), Box<dyn Error>> {
// 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")

View file

@ -106,7 +106,7 @@ fn main() -> Result<(), Box<dyn Error>> {
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<dyn Error>> {
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: