Skip to content

Commit 2e0ca25

Browse files
committed
Add tracking issue number
Signed-off-by: Nick Cameron <[email protected]>
1 parent e82368d commit 2e0ca25

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

library/core/src/any.rs

+8-8
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ pub const fn type_name_of_val<T: ?Sized>(_val: &T) -> &'static str {
776776
///////////////////////////////////////////////////////////////////////////////
777777

778778
/// Trait implemented by a type which can dynamically provide values based on type.
779-
#[unstable(feature = "provide_any", issue = "none")]
779+
#[unstable(feature = "provide_any", issue = "96024")]
780780
pub trait Provider {
781781
/// Data providers should implement this method to provide *all* values they are able to
782782
/// provide by using `demand`.
@@ -796,7 +796,7 @@ pub trait Provider {
796796
/// }
797797
/// }
798798
/// ```
799-
#[unstable(feature = "provide_any", issue = "none")]
799+
#[unstable(feature = "provide_any", issue = "96024")]
800800
fn provide<'a>(&'a self, demand: &mut Demand<'a>);
801801
}
802802

@@ -814,7 +814,7 @@ pub trait Provider {
814814
/// request_value::<String, _>(provider).unwrap()
815815
/// }
816816
/// ```
817-
#[unstable(feature = "provide_any", issue = "none")]
817+
#[unstable(feature = "provide_any", issue = "96024")]
818818
pub fn request_value<'a, T, P>(provider: &'a P) -> Option<T>
819819
where
820820
T: 'static,
@@ -837,7 +837,7 @@ where
837837
/// request_ref::<str, _>(provider).unwrap()
838838
/// }
839839
/// ```
840-
#[unstable(feature = "provide_any", issue = "none")]
840+
#[unstable(feature = "provide_any", issue = "96024")]
841841
pub fn request_ref<'a, T, P>(provider: &'a P) -> Option<&'a T>
842842
where
843843
T: 'static + ?Sized,
@@ -865,7 +865,7 @@ where
865865
///
866866
/// A data provider provides values by calling this type's provide methods.
867867
#[allow(missing_debug_implementations)]
868-
#[unstable(feature = "provide_any", issue = "none")]
868+
#[unstable(feature = "provide_any", issue = "96024")]
869869
#[repr(transparent)]
870870
pub struct Demand<'a>(dyn Erased<'a> + 'a);
871871

@@ -887,7 +887,7 @@ impl<'a> Demand<'a> {
887887
/// }
888888
/// }
889889
/// ```
890-
#[unstable(feature = "provide_any", issue = "none")]
890+
#[unstable(feature = "provide_any", issue = "96024")]
891891
pub fn provide_value<T, F>(&mut self, fulfil: F) -> &mut Self
892892
where
893893
T: 'static,
@@ -914,7 +914,7 @@ impl<'a> Demand<'a> {
914914
/// }
915915
/// }
916916
/// ```
917-
#[unstable(feature = "provide_any", issue = "none")]
917+
#[unstable(feature = "provide_any", issue = "96024")]
918918
pub fn provide_ref<T: ?Sized + 'static>(&mut self, value: &'a T) -> &mut Self {
919919
self.provide::<tags::Ref<tags::MaybeSizedValue<T>>>(value)
920920
}
@@ -1034,7 +1034,7 @@ impl<'a, I: tags::Type<'a>> Erased<'a> for TaggedOption<'a, I> {
10341034
}
10351035
}
10361036

1037-
#[unstable(feature = "provide_any", issue = "none")]
1037+
#[unstable(feature = "provide_any", issue = "96024")]
10381038
impl<'a> dyn Erased<'a> {
10391039
/// Returns some reference to the dynamic value if it is tagged with `I`,
10401040
/// or `None` otherwise.

0 commit comments

Comments
 (0)