mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 17:23:04 +03:00
[PR #4977] [MERGED] Add extra linting #2672
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/4977
Author: @BlackDex
Created: 9/21/2024
Status: ✅ Merged
Merged: 9/23/2024
Merged by: @dani-garcia
Base:
main← Head:update-lints-and-code📝 Commits (2)
0cf7499Add extra linting46f89f3Adjusted according to comments📊 Changes
21 files changed (+82 additions, -70 deletions)
View changed files
📝
Cargo.lock(+10 -10)📝
Cargo.toml(+23 -5)📝
src/api/admin.rs(+3 -3)📝
src/api/core/accounts.rs(+3 -3)📝
src/api/core/organizations.rs(+1 -1)📝
src/api/core/public.rs(+2 -2)📝
src/api/core/two_factor/email.rs(+1 -1)📝
src/api/core/two_factor/protected_actions.rs(+1 -1)📝
src/api/core/two_factor/yubikey.rs(+1 -1)📝
src/api/icons.rs(+10 -10)📝
src/api/notifications.rs(+1 -1)📝
src/auth.rs(+3 -3)📝
src/config.rs(+3 -7)📝
src/db/mod.rs(+2 -4)📝
src/db/models/emergency_access.rs(+1 -1)📝
src/db/models/organization.rs(+3 -3)📝
src/db/models/user.rs(+2 -2)📝
src/error.rs(+1 -1)📝
src/http_client.rs(+3 -3)📝
src/main.rs(+4 -4)...and 1 more files
📄 Description
Added extra linting for some code styles.
Also added some of the Rust Edition 2024 lints since our MSRV does not yet support the group lint.
Once we reach 1.81.0 as MSRV we can uncomment it and use that lint.
Closes #4974
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.