about summary refs log tree commit diff
path: root/library/std/src/io/error.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2025-04-11 11:35:10 -0700
committerMichael Howell <michael@notriddle.com>2025-04-11 11:36:40 -0700
commite013cf8afcf74a5f27feb7ebb0dca248e5c489fe (patch)
treeb5d12b9e1fbdfe3e3c3ec4752f7075aca40cfcce /library/std/src/io/error.rs
parent71b68da1bd9fa6afb9f964a731e9c843ab0862bd (diff)
downloadrust-e013cf8afcf74a5f27feb7ebb0dca248e5c489fe.tar.gz
rust-e013cf8afcf74a5f27feb7ebb0dca248e5c489fe.zip
rustdoc-search: add unbox flag to Result aliases
Fixes #139665
Diffstat (limited to 'library/std/src/io/error.rs')
-rw-r--r--library/std/src/io/error.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/io/error.rs b/library/std/src/io/error.rs
index 2498fb8d24f..cf3778bd290 100644
--- a/library/std/src/io/error.rs
+++ b/library/std/src/io/error.rs
@@ -48,6 +48,7 @@ use crate::{error, fmt, result, sys};
 /// }
 /// ```
 #[stable(feature = "rust1", since = "1.0.0")]
+#[cfg_attr(not(bootstrap), doc(search_unbox))]
 pub type Result<T> = result::Result<T, Error>;
 
 /// The error type for I/O operations of the [`Read`], [`Write`], [`Seek`], and