We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5beabbb commit 2738d82Copy full SHA for 2738d82
packages/std/src/math/mod.rs
@@ -80,7 +80,7 @@ mod tests {
80
{
81
}
82
83
- #[allow(dead_code)]
+ #[allow(dead_code)] // This is used to statically ensure all the integers have a shared set of traits
84
trait SignedImpl<'a>: IntImpl<'a> + Neg<Output = Self> {}
85
86
impl AllImpl<'_> for Uint64 {}
packages/std/src/query/query_response.rs
@@ -15,4 +15,5 @@ use serde::de::DeserializeOwned;
15
/// - multi-test/cw-sdk: create a default instance and mutate the fields
16
///
17
/// This trait is crate-internal and can change any time.
18
+#[allow(dead_code)] // This is used to statically ensure all the types have a shared set of traits
19
pub(crate) trait QueryResponseType: DeserializeOwned + Debug + PartialEq + Clone {}
0 commit comments