diff options
| author | Jared Harp <harp.62@osu.edu> | 2022-12-04 20:57:02 -0500 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2022-12-06 21:42:57 -0800 |
| commit | 28a9eed73ce336442d358cbe12c4f2c09835efb8 (patch) | |
| tree | 40ec0357412340706b11f1bacf3bf56ba26e39f3 /src/doc/rustc-dev-guide | |
| parent | b4c1967b858ef2bccee5605f5e84ad4a4dd1b55e (diff) | |
| download | rust-28a9eed73ce336442d358cbe12c4f2c09835efb8.tar.gz rust-28a9eed73ce336442d358cbe12c4f2c09835efb8.zip | |
Fix small inaccuracy in monomorph page
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/backend/monomorph.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/backend/monomorph.md b/src/doc/rustc-dev-guide/src/backend/monomorph.md index 21a7882031b..4a0b55f6249 100644 --- a/src/doc/rustc-dev-guide/src/backend/monomorph.md +++ b/src/doc/rustc-dev-guide/src/backend/monomorph.md @@ -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. |
