Skip to content

Commit d6734b4

Browse files
authored
Fix typo in generic_types.md (#5535)
1 parent ad00b34 commit d6734b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/book/src/advanced/generic_types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Important background to know before diving into trait constraints is that the `w
3434
want to specify that the generic argument implements a `Hash` trait.
3535

3636
```sway
37-
fn get_hashmap_key<T>(Key : T) -> b256
37+
fn get_hashmap_key<T>(key: T) -> b256
3838
where T: Hash
3939
{
4040
// Code within here can then call methods associated with the Hash trait on Key

0 commit comments

Comments
 (0)