docs: fix typos

Found via `typos --format brief`
This commit is contained in:
Kian-Meng Ang
2023-02-02 12:26:17 +08:00
parent a12ac62722
commit a0e2eb38ae
7 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -377,8 +377,8 @@ impl fmt::Display for LogsTz {
}
/// Store the logs alongside a HashSet, each log *should* generate a unique timestamp,
/// so if we store the timestamp seperately in a HashSet, we can then check if we should insert a log line into the
/// stateful list dependant on whethere the timestamp is in the HashSet or not
/// so if we store the timestamp separately in a HashSet, we can then check if we should insert a log line into the
/// stateful list dependent on whethere the timestamp is in the HashSet or not
#[derive(Debug, Clone)]
pub struct Logs {
logs: StatefulList<ListItem<'static>>,
+1 -1
View File
@@ -376,7 +376,7 @@ impl AppData {
.map(|i| i.logs.state())
}
/// Error realted methods
/// Error related methods
/// return single app_state error
pub const fn get_error(&self) -> Option<AppError> {