]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/rustc-dev-guide/src/backend/monomorph.md
New upstream version 1.68.2+dfsg1
[rustc.git] / src / doc / rustc-dev-guide / src / backend / monomorph.md
index 21a7882031b2b137d853d852a6c523bb6b03ab0f..4a0b55f6249b9aa6050d720b67a4579b4c197dc6 100644 (file)
@@ -10,7 +10,7 @@ execute.
 Different languages handle this problem differently. For example, in some
 languages, such as Java, we may not know the most precise type of value until
 runtime. In the case of Java, this is ok because (almost) all variables are
-reference values anyway (i.e. pointers to a stack allocated object). This
+reference values anyway (i.e. pointers to a heap allocated object). This
 flexibility comes at the cost of performance, since all accesses to an object
 must dereference a pointer.