doc: some errors

This commit is contained in:
iff 2024-11-16 14:21:10 +01:00
parent 49f54bb03f
commit c7e2c52068

View file

@ -1,6 +1,6 @@
## Writing Rules
Rule files placed at [rules](./rules) in the project directory are parsed at compilation, everything is parsed to Rust code before compiling. You don't have to know the project structure nor Rust to write blazing fast rules!
Rule files placed under [rules](./rules) in the project directory are parsed at compilation, everything is parsed to Rust code before compiling. You don't have to know the project structure nor Rust to write blazing fast rules!
For compile-time rules, if only rules are changed, cargo won't recompile the project because Rust code were intact. You will have to notify it manually by:
```shell
@ -39,7 +39,7 @@ pattern = [
"pattern 1"
]
# this will add a `sudo` before the command if:
# - the `sudo` is found by `command -v`
# - the `sudo` is found by `which`
# - the last command does not contain `sudo`
suggest = [
'''