The upcomming release of Rust 1.67.0 will warn on uninlined_format_args.
This PR resolves that by inlining all these items. It also looks nicer.
Also added a clippy.toml which indicates the MSRV to prevent clippy suggests which could break the MSRV version compile.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/dani-garcia/vaultwarden/pull/3065
**Author:** [@BlackDex](https://github.com/BlackDex)
**Created:** 12/29/2022
**Status:** ✅ Merged
**Merged:** 1/9/2023
**Merged by:** [@dani-garcia](https://github.com/dani-garcia)
**Base:** `main` ← **Head:** `future-clippy-fixes`
---
### 📝 Commits (1)
- [`7390f34`](https://github.com/dani-garcia/vaultwarden/commit/7390f34355c4cfb4024b4558e5b77a216516b656) Resolve uninlined_format_args clippy warnings
### 📊 Changes
**2 files changed** (+1 additions, -13 deletions)
<details>
<summary>View changed files</summary>
📝 `clippy.toml` (+1 -1)
📝 `src/config.rs` (+0 -12)
</details>
### 📄 Description
The upcomming release of Rust 1.67.0 will warn on `uninlined_format_args`.
This PR resolves that by inlining all these items. It also looks nicer.
Also added a `clippy.toml` which indicates the **MSRV** to prevent clippy suggests which could break the **MSRV** version compile.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/3065
Author: @BlackDex
Created: 12/29/2022
Status: ✅ Merged
Merged: 1/9/2023
Merged by: @dani-garcia
Base:
main← Head:future-clippy-fixes📝 Commits (1)
7390f34Resolve uninlined_format_args clippy warnings📊 Changes
2 files changed (+1 additions, -13 deletions)
View changed files
📝
clippy.toml(+1 -1)📝
src/config.rs(+0 -12)📄 Description
The upcomming release of Rust 1.67.0 will warn on
uninlined_format_args.This PR resolves that by inlining all these items. It also looks nicer.
Also added a
clippy.tomlwhich indicates the MSRV to prevent clippy suggests which could break the MSRV version compile.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.