diff --git a/src/arena.rs b/src/arena.rs index b361bb8..dbfca93 100644 --- a/src/arena.rs +++ b/src/arena.rs @@ -208,7 +208,7 @@ impl Arena { /// Intern a `Box` as `ArenaIntern`. /// /// If this value has not previously been interned, then `intern` will save - /// the provided `Box`. Otherwise, it will free its input `Box` + /// the provided `Box`. Otherwise, it will free its input `Box` /// and return a pointer to the `CStr` previously saved. /// /// # Example @@ -261,7 +261,7 @@ impl Arena { /// Intern a `Box` as `ArenaIntern`. /// /// If this value has not previously been interned, then `intern` will save - /// the provided `Box`. Otherwise, it will free its input `Box` + /// the provided `Box`. Otherwise, it will free its input `Box` /// and return a pointer to the `OsStr` previously saved. /// /// # Example @@ -314,7 +314,7 @@ impl Arena { /// Intern a `Box` as `ArenaIntern`. /// /// If this value has not previously been interned, then `intern` will save - /// the provided `Box`. Otherwise, it will free its input `Box` + /// the provided `Box`. Otherwise, it will free its input `Box` /// and return a pointer to the `Path` previously saved. /// /// # Example @@ -330,11 +330,11 @@ impl Arena { } } impl Arena<[T]> { - /// Intern a `&\[T\]` as `ArenaIntern<[T]>`. + /// Intern a `&[T]` as `ArenaIntern<[T]>`. /// /// If this value has not previously been interned, then `intern` will /// allocate a spot for the value on the heap. Otherwise, it will return a - /// pointer to the `\[T\]` previously allocated. + /// pointer to the `[T]` previously allocated. pub fn intern<'a, 'b>(&'a self, val: &'b [T]) -> ArenaIntern<'a, [T]> { self.intern_ref(val) }