We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f30a859 + a7c59ab commit 5ba6480Copy full SHA for 5ba6480
book/src/development/type_checking.md
@@ -119,7 +119,7 @@ an `u32`. As far as `hir::Ty` is concerned those might be different types. But a
119
understands that they're the same type, in-depth lifetimes, etc...
120
121
To get from a `hir::Ty` to a `ty::Ty`, you can use the [`hir_ty_to_ty`][hir_ty_to_ty] function outside of bodies or
122
-outside of bodies the [`TypeckResults::node_type()`][node_type] method.
+the [`TypeckResults::node_type()`][node_type] method inside of bodies.
123
124
> **Warning**: Don't use `hir_ty_to_ty` inside of bodies, because this can cause ICEs.
125
0 commit comments