We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5437e7 commit db6ce6eCopy full SHA for db6ce6e
src/ty.md
@@ -141,7 +141,7 @@ To allocate a new type, you can use the various `new_` methods defined on the [`
141
that correspond mostly to the various kinds of types. For example:
142
143
```rust,ignore
144
-let array_ty = Ty::new_array_with_const_len(tcx, ty,count)
+let array_ty = Ty::new_array_with_const_len(tcx, ty, count)
145
```
146
147
These methods all return a `Ty<'tcx>` – note that the lifetime you get back is the lifetime of the
0 commit comments