From 85b1fc01c68c5dec4ff6eaeafdfd5ea15197a1a4 Mon Sep 17 00:00:00 2001 From: David Dallakyan <131261521+daviddallakyan2005@users.noreply.github.com> Date: Mon, 17 Aug 2026 15:27:08 +0400 Subject: [PATCH] docs(segment): fix leftover mmap_* rustdoc after on_disk rename (#10232) Point geo OnDiskGeoIndex at on_disk_geo_index and payload storage at PayloadStorageImpl. The mmap_* modules were renamed and no longer exist. --- lib/segment/src/index/field_index/geo_index/read_only/mod.rs | 2 +- lib/segment/src/payload_storage/read_only/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/segment/src/index/field_index/geo_index/read_only/mod.rs b/lib/segment/src/index/field_index/geo_index/read_only/mod.rs index 267699d0c6..37b7c0ebe6 100644 --- a/lib/segment/src/index/field_index/geo_index/read_only/mod.rs +++ b/lib/segment/src/index/field_index/geo_index/read_only/mod.rs @@ -32,7 +32,7 @@ mod read_ops; /// [1]: super::GeoIndex /// [2]: super::mutable_geo_index::MutableGeoIndex /// [3]: super::immutable_geo_index::ImmutableGeoIndex -/// [4]: super::mmap_geo_index::OnDiskGeoIndex +/// [4]: super::on_disk_geo_index::OnDiskGeoIndex /// [5]: super::GeoIndex::new_gridstore /// [6]: super::GeoIndex::new_mmap #[allow(clippy::large_enum_variant)] diff --git a/lib/segment/src/payload_storage/read_only/mod.rs b/lib/segment/src/payload_storage/read_only/mod.rs index 8283ec8cb7..66f96d61da 100644 --- a/lib/segment/src/payload_storage/read_only/mod.rs +++ b/lib/segment/src/payload_storage/read_only/mod.rs @@ -7,7 +7,7 @@ use common::universal_io::UniversalRead; use crate::types::Payload; -/// Read-only counterpart to [`super::mmap_payload_storage::MmapPayloadStorage`]. +/// Read-only counterpart to [`super::payload_storage_impl::PayloadStorageImpl`]. /// /// Backed by a [`BlobstoreReader`] over generic [`UniversalRead`] instead of a /// writable [`blobstore::Blobstore`]. Unlike the read-only field indexes there