doc: fix typos in comments. (#486)

pull/494/head
Moritz 3 years ago committed by GitHub
parent 23d5fbde56
commit e05b80cec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,7 +31,7 @@ fn main() -> Result<(), Box<dyn Error>> {
// with at least a margin of 1 // with at least a margin of 1
let size = f.size(); let size = f.size();
// Surounding block // Surrounding block
let block = Block::default() let block = Block::default()
.borders(Borders::ALL) .borders(Borders::ALL)
.title("Main block with round corners") .title("Main block with round corners")

@ -106,7 +106,7 @@ fn main() -> Result<(), Box<dyn Error>> {
let events = Events::new(); 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(); let mut app = App::new();
loop { loop {
@ -171,7 +171,7 @@ fn main() -> Result<(), Box<dyn Error>> {
Style::default().add_modifier(Modifier::ITALIC), 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)]); let log = Spans::from(vec![Span::raw(event)]);
// Here several things happen: // Here several things happen:

Loading…
Cancel
Save