Skip to content

Commit

Permalink
Update auto-deref recursion_limit example
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic authored Mar 21, 2021
1 parent c3d550c commit 9d50635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attributes/limits.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 30,7 @@ a!{}
#![recursion_limit = "1"]
// This fails because it requires two recursive steps to auto-derefence.
(|_: &u8| {})(&&1);
(|_: &u8| {})(&&&1);
```

## The `type_length_limit` attribute
Expand Down

0 comments on commit 9d50635

Please sign in to comment.