diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2021-11-01 07:11:05 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2021-11-10 08:35:42 -0800 |
| commit | caa9e4a2d0feaee53df67677a190edab95c996af (patch) | |
| tree | 9ebaba66fa7aa4cbb70738f7346576e51030d07a /library/std/src | |
| parent | f738abe63b6c351e0ba523a01b05d04fead8acff (diff) | |
| download | rust-caa9e4a2d0feaee53df67677a190edab95c996af.tar.gz rust-caa9e4a2d0feaee53df67677a190edab95c996af.zip | |
Review comments
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/sys/wasm/alloc.rs | 2 | ||||
| -rw-r--r-- | library/std/src/thread/local.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/wasm/alloc.rs b/library/std/src/sys/wasm/alloc.rs index bf5dc0273c0..3223e894102 100644 --- a/library/std/src/sys/wasm/alloc.rs +++ b/library/std/src/sys/wasm/alloc.rs @@ -1,4 +1,4 @@ -//! This is an implementation of a global allocator on the wasm platform when +//! This is an implementation of a global allocator on wasm targets when //! emscripten is not in use. In that situation there's no actual runtime for us //! to lean on for allocation, so instead we provide our own! //! diff --git a/library/std/src/thread/local.rs b/library/std/src/thread/local.rs index da297c92017..f6898d283fc 100644 --- a/library/std/src/thread/local.rs +++ b/library/std/src/thread/local.rs @@ -479,7 +479,7 @@ mod lazy { } } -/// On some platforms like wasm there's no threads, so no need to generate +/// On some targets like wasm there's no threads, so no need to generate /// thread locals and we can instead just use plain statics! #[doc(hidden)] #[cfg(all(target_family = "wasm", not(target_feature = "atomics")))] |
