Skip to content

Commit db6ce6e

Browse files
Update src/ty.md
Co-authored-by: Michael Goulet <michael@errs.io>
1 parent a5437e7 commit db6ce6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ To allocate a new type, you can use the various `new_` methods defined on the [`
141141
that correspond mostly to the various kinds of types. For example:
142142

143143
```rust,ignore
144-
let array_ty = Ty::new_array_with_const_len(tcx, ty,count)
144+
let array_ty = Ty::new_array_with_const_len(tcx, ty, count)
145145
```
146146

147147
These methods all return a `Ty<'tcx>` – note that the lifetime you get back is the lifetime of the

0 commit comments

Comments
 (0)