Skip to content

Commit

Permalink
Fix new clippy lints for manual tostring impl
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptibell committed May 2, 2024
1 parent caa97ba commit fd59f4d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/manifests/auth.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#![allow(clippy::to_string_trait_impl)]
// NOTE: We don't want to implement Display here since it may
// make library consumers think that auth manifests are meant
// to be displayed - they are only meant to be stringified.

use std::{collections::HashMap, path::Path, str::FromStr};

use toml_edit::{DocumentMut, Formatted, Item, Value};
Expand Down
5 changes: 5 additions & 0 deletions lib/manifests/rokit.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#![allow(clippy::to_string_trait_impl)]
// NOTE: We don't want to implement Display here since it may
// make library consumers think that Rokit manifests are meant
// to be displayed - they are only meant to be stringified.

use std::{path::Path, str::FromStr};

use toml_edit::{DocumentMut, Formatted, Item, Value};
Expand Down

0 comments on commit fd59f4d

Please sign in to comment.