Skip to content

Commit

Permalink
Add docs to allow attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Mar 21, 2024
1 parent 5beabbb commit 2738d82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/std/src/math/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ mod tests {
{
}

#[allow(dead_code)]
#[allow(dead_code)] // This is used to statically ensure all the integers have a shared set of traits
trait SignedImpl<'a>: IntImpl<'a> + Neg<Output = Self> {}

impl AllImpl<'_> for Uint64 {}
Expand Down
1 change: 1 addition & 0 deletions packages/std/src/query/query_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ use serde::de::DeserializeOwned;
/// - multi-test/cw-sdk: create a default instance and mutate the fields
///
/// This trait is crate-internal and can change any time.
#[allow(dead_code)] // This is used to statically ensure all the types have a shared set of traits
pub(crate) trait QueryResponseType: DeserializeOwned + Debug + PartialEq + Clone {}

0 comments on commit 2738d82

Please sign in to comment.