Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Jun 20, 2024
1 parent 255c464 commit 6c7ae1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/sol-macro-expander/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ pub(crate) fn combine_errors(v: impl IntoIterator<Item = syn::Error>) -> syn::Re

#[derive(Clone, Debug)]
pub(crate) struct ExprArray<T> {
pub array: Vec<T>,
pub span: Span,
pub(crate) array: Vec<T>,
pub(crate) span: Span,
}

impl<T: PartialOrd> PartialOrd for ExprArray<T> {
Expand Down
2 changes: 1 addition & 1 deletion crates/sol-macro-expander/src/verbatim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub(crate) trait Verbatim {

/// Provides a [`quote::ToTokens`] implementations for references of values that implement
/// [`Verbatim`].
pub(crate) struct ToTokensCompat<'a, T: ?Sized + Verbatim>(pub &'a T, &'a ExternCrates);
pub(crate) struct ToTokensCompat<'a, T: ?Sized + Verbatim>(pub(crate) &'a T, &'a ExternCrates);

impl<T: Verbatim> quote::ToTokens for ToTokensCompat<'_, T> {
#[inline]
Expand Down

0 comments on commit 6c7ae1f

Please sign in to comment.