From 4c3d173030691264a288cdcbfc83f5e332f6f245 Mon Sep 17 00:00:00 2001 From: NOT_A_ROBOT Date: Thu, 23 Jul 2026 13:33:31 +0700 Subject: [PATCH] Fix docstring typo in open_options.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "OptionOptions" → "OpenOptions" --- cap-primitives/src/fs/open_options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-primitives/src/fs/open_options.rs b/cap-primitives/src/fs/open_options.rs index 3faec096..d6509d24 100644 --- a/cap-primitives/src/fs/open_options.rs +++ b/cap-primitives/src/fs/open_options.rs @@ -5,7 +5,7 @@ use crate::fs::{FollowSymlinks, ImplOpenOptionsExt}; /// This corresponds to [`std::fs::OpenOptions`]. /// /// This `OpenOptions` has no `open` method. To open a file with an -/// `OptionOptions`, first obtain a [`Dir`] containing the path, and then call +/// `OpenOptions`, first obtain a [`Dir`] containing the path, and then call /// [`Dir::open_with`]. /// /// [`Dir`]: https://docs.rs/cap-std/latest/cap_std/fs/struct.Dir.html