chore: add #[track_caller] to to_any_source (#2963)

This commit is contained in:
Baptiste 2024-09-12 02:01:06 +02:00 committed by GitHub
parent 2bf04072ea
commit 43f2ad7043
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -97,6 +97,7 @@ impl<T: AsSubscriberSet + DefinedAt> ToAnySource for T
where
T::Output: Borrow<Arc<RwLock<SubscriberSet>>>,
{
#[track_caller]
fn to_any_source(&self) -> AnySource {
self.as_subscriber_set()
.map(|subs| {