I guess no pre-commit formatting

main
DaXcess 2023-02-21 14:51:40 +01:00
parent f2c95df625
commit d2998bb252
No known key found for this signature in database
GPG Key ID: CF78CC72F0FD5EAD
3 changed files with 2 additions and 4 deletions

View File

@ -12,6 +12,4 @@ if [[ ${result} -ne 0 ]] ; then
exit 1
fi
cargo fmt --all
exit 0

View File

@ -38,7 +38,7 @@ We make use of `rustfmt` to format our code. You can install it by running `rust
#### Git Hooks
We make use of the pre-commit git hook to run `rustfmt` and `clippy` before you commit your code. To set up the git hooks you can run the following command:
We make use of the pre-commit git hook to run `clippy` before you commit your code. To set up the git hooks you can run the following command:
```bash
git config core.hooksPath .githooks

View File

@ -198,7 +198,7 @@ pub fn component(ctx: Context, mut interaction: MessageComponentInteraction) ->
// Check if session still exists
let mut session = match session_manager
.get_session(interaction.guild_id.expect("to contain a value"))
.get_session(interaction.guild_id.expect("to contain a value"))
.await
{
Some(session) => session,