mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-10 07:04:17 +00:00
doc: fix typos in comments. (#486)
This commit is contained in:
parent
23d5fbde56
commit
e05b80cec1
2 changed files with 3 additions and 3 deletions
|
@ -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")
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue