From 2fd735ceea626613c3aaa8e56d847574107c20f3 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 15 Nov 2024 01:15:32 +0000 Subject: [PATCH] typos --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 14bac5a..4efe5d3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,7 +15,7 @@ //! //! * Not defeating the library's anti-alias protections. //! In particular: holding a suitable singleton ([`NoAliasSingleton`]) -//! which each `Ptr` belogns to +//! which each `Ptr` belongs to //! (even though there is nothing in the API //! eg, lifetimes, to link them). //! @@ -96,7 +96,7 @@ use std::ptr::NonNull; /// /// Ensuring that `Ptr`s are freed at the right time is up to the caller, /// But aliasing, and other Rust unsafe footguns, -/// is (largely) handled by the library. +/// are (largely) handled by the library. /// See the [module-level documentation](crate). pub struct Ptr { /// # SAFETY @@ -154,7 +154,7 @@ pub struct TokenRef<'a>( PhantomData<&'a NoAliasSingleton>, ); -/// `&mut` [`NoAliasSingleton`], but a zero-sized +/// `&mut` [`NoAliasSingleton`], but zero-sized /// /// See [`TokenRef`] #[derive(Debug)] -- 2.30.2