fix typos (#183)

This commit is contained in:
a-kenji 2022-10-16 15:26:44 +02:00 committed by GitHub
parent da42d37d6c
commit 5b9d911bee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -3,4 +3,4 @@
In order to catch up with all the formatter available for different programming language, we create two file as our guideline for each formatter's creator.
1. [Formatter Specifications](./formatters-spec.md) - Guideline to have smooth integration with `treefmt`
1. [Formatter Example](./formatters.md) - List formatter available with the config example to be inserted in `treefmt.tom`
1. [Formatter Example](./formatters.md) - List formatter available with the config example to be inserted in `treefmt.toml`

View File

@ -62,7 +62,7 @@ impl CacheManifest {
Ok(manifest)
}
/// Always loads the manifest. If an error occured, log and return an empty manifest.
/// Always loads the manifest. If an error occurred, log and return an empty manifest.
#[must_use]
pub fn load(cache_dir: &Path, treefmt_toml: &Path) -> Self {
match Self::try_load(cache_dir, treefmt_toml) {

View File

@ -29,7 +29,7 @@ excludes = ["examples/haskell/"]
[formatter.nix]
command = "nixpkgs-fmt"
includes = ["*.nix"]
# Act as an example on how to exlude specific files
# Act as an example on how to exclude specific files
excludes = ["examples/nix/sources.nix"]
[formatter.ruby]