Skip to content

Commit ae8f836

Browse files
ehusstraviscross
authored andcommitted
Unwrap type_length_limit
1 parent ff45844 commit ae8f836

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/attributes/limits.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,10 @@ r[attributes.limits.type_length_limit]
4949
> For more information, see <https://github.com/rust-lang/rust/pull/127670>.
5050
5151
r[attributes.limits.type_length_limit.intro]
52-
The *`type_length_limit` attribute* limits the maximum number of type
53-
substitutions made when constructing a concrete type during monomorphization.
52+
The *`type_length_limit` attribute* limits the maximum number of type substitutions made when constructing a concrete type during monomorphization.
5453

5554
r[attributes.limits.type_length_limit.syntax]
56-
It is applied at the [crate] level, and uses the [MetaNameValueStr] syntax
57-
to set the limit based on the number of type substitutions.
55+
It is applied at the [crate] level, and uses the [MetaNameValueStr] syntax to set the limit based on the number of type substitutions.
5856

5957
> [!NOTE]
6058
> The default in `rustc` is 1048576.

0 commit comments

Comments
 (0)