Skip to content

Commit

Permalink
Update crates/ink/ir/src/ir/utils.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Müller <[email protected]>
  • Loading branch information
ascjones and cmichi authored Sep 20, 2022
1 parent e877c90 commit 1a3116b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ink/ir/src/ir/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ where

/// Finds the salt of a struct, enum or union.
/// The salt is any generic that has bound `StorageKey`.
/// In most cases it is parent storage key or auto-generated storage key.
/// In most cases it is the parent storage key or the auto-generated storage key.
pub fn find_storage_key_salt(input: &syn::DeriveInput) -> Option<syn::TypeParam> {
input.generics.params.iter().find_map(|param| {
if let syn::GenericParam::Type(type_param) = param {
Expand Down

0 comments on commit 1a3116b

Please sign in to comment.