rustdoc-search: add unbox flag to Result aliases

Fixes #139665
This commit is contained in:
Michael Howell
2025-04-11 11:35:10 -07:00
parent 71b68da1bd
commit e013cf8afc
6 changed files with 41 additions and 0 deletions

View File

@@ -1676,6 +1676,7 @@ impl fmt::Debug for Thread {
/// [`Result`]: crate::result::Result
/// [`std::panic::resume_unwind`]: crate::panic::resume_unwind
#[stable(feature = "rust1", since = "1.0.0")]
#[cfg_attr(not(bootstrap), doc(search_unbox))]
pub type Result<T> = crate::result::Result<T, Box<dyn Any + Send + 'static>>;
// This packet is used to communicate the return value between the spawned