From 79adc5b54e522c3e6ce7f75bce6d6954434aa2fa Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 1 Jan 2026 10:28:47 -0800 Subject: [PATCH] work --- rust/pspp/src/spv.rs | 1 + rust/pspp/src/spv/read.rs | 1 + rust/pspp/src/spv/read/structure.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/rust/pspp/src/spv.rs b/rust/pspp/src/spv.rs index 17990f94fc..4c889ec303 100644 --- a/rust/pspp/src/spv.rs +++ b/rust/pspp/src/spv.rs @@ -27,6 +27,7 @@ // Warn about missing docs, but not for items declared with `#[cfg(test)]`. #![cfg_attr(not(test), warn(missing_docs))] +/// Reading SPV files. pub mod read; mod write; diff --git a/rust/pspp/src/spv/read.rs b/rust/pspp/src/spv/read.rs index fb5daf70cf..15d2127ba6 100644 --- a/rust/pspp/src/spv/read.rs +++ b/rust/pspp/src/spv/read.rs @@ -72,6 +72,7 @@ pub enum WarningDetails { UnknownOrientation(String), } +/// Both [Read] and [Seek] together. pub trait ReadSeek: Read + Seek {} impl ReadSeek for T where T: Read + Seek {} diff --git a/rust/pspp/src/spv/read/structure.rs b/rust/pspp/src/spv/read/structure.rs index a4b18eb037..9dcd90c524 100644 --- a/rust/pspp/src/spv/read/structure.rs +++ b/rust/pspp/src/spv/read/structure.rs @@ -1,3 +1,4 @@ +#![allow(missing_docs)] use std::{ borrow::Cow, io::{BufRead, BufReader, Cursor, Read, Seek}, -- 2.30.2