about summary refs log tree commit diff
path: root/library
diff options
context:
space:
mode:
authorAria Beingessner <a.beingessner@gmail.com>2022-03-28 14:26:24 -0400
committerAria Beingessner <a.beingessner@gmail.com>2022-03-29 20:18:28 -0400
commita91a9eeffff78895f7879e196fa08ffdcfcda0fd (patch)
tree841640a5e230aa867da2d4a44f21f44d83306985 /library
parent075c576182fe1eb759f747135566eb39b7bc0899 (diff)
downloadrust-a91a9eeffff78895f7879e196fa08ffdcfcda0fd.tar.gz
rust-a91a9eeffff78895f7879e196fa08ffdcfcda0fd.zip
clarify that WASM has address spaces
Diffstat (limited to 'library')
-rw-r--r--library/core/src/ptr/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ptr/mod.rs b/library/core/src/ptr/mod.rs
index 816a5bca00a..6a7841d3de6 100644
--- a/library/core/src/ptr/mod.rs
+++ b/library/core/src/ptr/mod.rs
@@ -163,7 +163,7 @@
 //! of pointers and `usize` (and `isize`), and defining a pointer to semantically contain the
 //! following information:
 //!
-//! * The **address-space** it is part of.
+//! * The **address-space** it is part of (i.e. "data" vs "code" in WASM).
 //! * The **address** it points to, which can be represented by a `usize`.
 //! * The **provenance** it has, defining the memory it has permission to access.
 //!