Skip to content

Commit 1e322e3

Browse files
committed
Revert the second deprecation of collections::Bound
1 parent 0464f63 commit 1e322e3

File tree

1 file changed

+3
-2
lines changed
  • library/std/src/collections

1 file changed

+3
-2
lines changed

library/std/src/collections/mod.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,10 @@
401401
#![stable(feature = "rust1", since = "1.0.0")]
402402

403403
#[stable(feature = "rust1", since = "1.0.0")]
404-
#[rustc_deprecated(reason = "moved to `std::ops::Bound`", since = "1.52.0")]
404+
// FIXME(#82080) The deprecation here is only theoretical, and does not actually produce a warning.
405+
#[rustc_deprecated(reason = "moved to `std::ops::Bound`", since = "1.26.0")]
405406
#[doc(hidden)]
406-
pub type Bound<T> = crate::ops::Bound<T>;
407+
pub use crate::ops::Bound;
407408

408409
#[stable(feature = "rust1", since = "1.0.0")]
409410
pub use alloc_crate::collections::{binary_heap, btree_map, btree_set};

0 commit comments

Comments
 (0)