diff options
| author | Ralf Jung <post@ralfj.de> | 2021-04-04 19:32:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-04 19:32:54 +0200 |
| commit | b577d7ef259c159c8d74333c79a0540b954ba726 (patch) | |
| tree | 886a026660da361eba345a4677ef73a4261dd951 | |
| parent | 5d1747bf07311f893829728c0e26e088794651e1 (diff) | |
| download | rust-b577d7ef259c159c8d74333c79a0540b954ba726.tar.gz rust-b577d7ef259c159c8d74333c79a0540b954ba726.zip | |
fix typo
Co-authored-by: kennytm <kennytm@gmail.com>
| -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 bed5e0b8998..12fd4a36bd0 100644 --- a/library/core/src/ptr/mod.rs +++ b/library/core/src/ptr/mod.rs @@ -1545,7 +1545,7 @@ fnptr_impls_args! { A, B, C, D, E, F, G, H, I, J, K, L } /// assert_eq!(unsafe { raw_f2.read_unaligned() }, 2); /// ``` /// -/// See [`addr_of_mut`] for how to create a pointer to ininitialized data. +/// See [`addr_of_mut`] for how to create a pointer to unininitialized data. /// Doing that with `addr_of` would not make much sense since one could only /// read the data, and that would be Undefined Behavior. #[stable(feature = "raw_ref_macros", since = "1.51.0")] |
