From 247ce3fd1abaa1be9f191b764e23cf8fded88733 Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Sat, 4 Jan 2025 09:40:11 -0500 Subject: [PATCH] avoid linking to private docs --- arrow-buffer/src/buffer/immutable.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arrow-buffer/src/buffer/immutable.rs b/arrow-buffer/src/buffer/immutable.rs index 53f6aa280e8..b22e0b80d10 100644 --- a/arrow-buffer/src/buffer/immutable.rs +++ b/arrow-buffer/src/buffer/immutable.rs @@ -94,9 +94,9 @@ unsafe impl Send for Buffer where Bytes: Send {} unsafe impl Sync for Buffer where Bytes: Sync {} impl Buffer { - /// Create a new Buffer from a (internal) [`Bytes`]. + /// Create a new Buffer from a (internal) `Bytes` /// - /// NOTE despite the same name, [`Bytes`] is an internal struct in arrow-rs + /// NOTE despite the same name, `Bytes` is an internal struct in arrow-rs /// and is different than [`bytes::Bytes`]. /// /// See examples on [`Buffer`] for ways to create a buffer from a [`bytes::Bytes`]. @@ -460,14 +460,14 @@ impl From> for Buffer { } } -/// Convert from internal [`Bytes`], not [`bytes::Bytes`] to `Buffer` +/// Convert from internal `Bytes`, not [`bytes::Bytes`] to `Buffer` impl From for Buffer { fn from(bytes: Bytes) -> Self { Self::from_bytes(bytes) } } -/// Convert from [`bytes::Bytes`], not internal [`Bytes`] to `Buffer` +/// Convert from [`bytes::Bytes`], not internal `Bytes` to `Buffer` impl From for Buffer { fn from(bytes: bytes::Bytes) -> Self { let bytes: Bytes = bytes.into();