We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad00b34 commit d6734b4Copy full SHA for d6734b4
docs/book/src/advanced/generic_types.md
@@ -34,7 +34,7 @@ Important background to know before diving into trait constraints is that the `w
34
want to specify that the generic argument implements a `Hash` trait.
35
36
```sway
37
-fn get_hashmap_key<T>(Key : T) -> b256
+fn get_hashmap_key<T>(key: T) -> b256
38
where T: Hash
39
{
40
// Code within here can then call methods associated with the Hash trait on Key
0 commit comments