From 32837859e7f69690f7011003c599423d10492c2a Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Thu, 22 Aug 2024 16:18:33 +0000 Subject: [PATCH] doc fix --- .../tenant/storage_layer/inmemory_layer/vectored_dio_read.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageserver/src/tenant/storage_layer/inmemory_layer/vectored_dio_read.rs b/pageserver/src/tenant/storage_layer/inmemory_layer/vectored_dio_read.rs index 673e8caace..c5345a1cb3 100644 --- a/pageserver/src/tenant/storage_layer/inmemory_layer/vectored_dio_read.rs +++ b/pageserver/src/tenant/storage_layer/inmemory_layer/vectored_dio_read.rs @@ -20,7 +20,7 @@ pub trait File: Send { /// The only reason why the read may be short (i.e., `nread != dst.bytes_total()`) /// is if the file is shorter than `start+dst.len()`. /// - /// This is unlike [`std::os::unix::fs::File::read_exact_at`] which returns an + /// This is unlike [`std::os::unix::fs::FileExt::read_exact_at`] which returns an /// [`std::io::ErrorKind::UnexpectedEof`] error if the file is shorter than `start+dst.len()`. /// /// No guarantees are made about the remaining bytes in `dst` in case of a short read.