Skip to content

Commit d10a0af

Browse files
authored
Merge pull request #986 from nikic/patch-1
Update auto-deref recursion_limit example
2 parents c3d550c + 9d50635 commit d10a0af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attributes/limits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ a!{}
3030
#![recursion_limit = "1"]
3131
3232
// This fails because it requires two recursive steps to auto-derefence.
33-
(|_: &u8| {})(&&1);
33+
(|_: &u8| {})(&&&1);
3434
```
3535

3636
## The `type_length_limit` attribute

0 commit comments

Comments
 (0)