Add clippy configuration

This commit is contained in:
Xiretza 2024-02-10 09:20:44 +00:00
parent 5370126e2c
commit 0adbf28b5c
2 changed files with 4 additions and 0 deletions

1
clippy.toml Normal file
View file

@ -0,0 +1 @@
doc-valid-idents = ["LDAP", ".."]

View file

@ -16,6 +16,9 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#![warn(clippy::pedantic, clippy::as_conversions)]
#![forbid(unsafe_code)]
fn main() {
println!("Hello, world!");
}