We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2237906 commit 5ab7afeCopy full SHA for 5ab7afe
clippy.toml
@@ -1 +1,3 @@
1
msrv = "1.48.0"
2
+# plan API returns Self as an error type for an large-ish enum
3
+large-error-threshold = 256
src/plan.rs
@@ -702,6 +702,7 @@ impl Assets {
702
pub fn new() -> Self { Self::default() }
703
704
/// Add some assets
705
+ #[allow(clippy::should_implement_trait)] // looks like the `ops::Add` trait
706
pub fn add<A: IntoAssets>(mut self, asset: A) -> Self {
707
self.append(asset.into_assets());
708
self
0 commit comments