Update crates-ci/typos and fix new typos (#10313)

Supersedes #10309
This commit is contained in:
Stefan Holderbach 2023-09-11 12:37:06 +02:00 committed by GitHub
parent 513186c390
commit baa50ec9b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -10,6 +10,6 @@ jobs:
uses: actions/checkout@v4
- name: Check spelling
uses: crate-ci/typos@v1.0.4
uses: crate-ci/typos@v1.16.11
with:
config: ./.github/.typos.toml

View File

@ -120,7 +120,7 @@ impl Command for SubCommand {
result: Some(Value::duration(1_234_567, span)),
},
Example {
description: "Convert a number of an arbitraty unit to duration",
description: "Convert a number of an arbitrary unit to duration",
example: "1_234 | into duration --unit ms",
result: Some(Value::duration(1_234 * 1_000_000, span)),
},

View File

@ -160,7 +160,7 @@ pub fn load_theme_from_config(config: &Config) -> TableTheme {
"psql" => TableTheme::psql(),
"markdown" => TableTheme::markdown(),
"dots" => TableTheme::dots(),
"restructured" => TableTheme::resturctured(),
"restructured" => TableTheme::restructured(),
"ascii_rounded" => TableTheme::ascii_rounded(),
"basic_compact" => TableTheme::basic_compact(),
_ => TableTheme::rounded(),

View File

@ -63,7 +63,7 @@ impl TableTheme {
}
}
pub fn resturctured() -> TableTheme {
pub fn restructured() -> TableTheme {
Self {
theme: Style::re_structured_text().into(),
full_theme: Style::re_structured_text().into(),