diff options
| author | Ralf Jung <post@ralfj.de> | 2025-04-14 13:56:51 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-04-14 13:56:51 +0200 |
| commit | 582718380119e0e7aa2da76ea49d111b3735c2c3 (patch) | |
| tree | 26a7cd010576e21e4a79b69941245f674d326870 /library/core/src | |
| parent | 5961e5ba3daa20d98f549eb9029105ae50c13aed (diff) | |
| download | rust-582718380119e0e7aa2da76ea49d111b3735c2c3.tar.gz rust-582718380119e0e7aa2da76ea49d111b3735c2c3.zip | |
ptr docs: add missing backtics around 'usize'
Diffstat (limited to 'library/core/src')
| -rw-r--r-- | library/core/src/ptr/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ptr/mod.rs b/library/core/src/ptr/mod.rs index 2357ba23aa0..445c789a7de 100644 --- a/library/core/src/ptr/mod.rs +++ b/library/core/src/ptr/mod.rs @@ -278,7 +278,7 @@ //! ### Using Strict Provenance //! //! Most code needs no changes to conform to strict provenance, as the only really concerning -//! operation is casts from usize to a pointer. For code which *does* cast a `usize` to a pointer, +//! operation is casts from `usize` to a pointer. For code which *does* cast a `usize` to a pointer, //! the scope of the change depends on exactly what you're doing. //! //! In general, you just need to make sure that if you want to convert a `usize` address to a |
