mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
chore: add #[track_caller] to to_any_source
(#2963)
This commit is contained in:
parent
2bf04072ea
commit
43f2ad7043
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ impl<T: AsSubscriberSet + DefinedAt> ToAnySource for T
|
||||||
where
|
where
|
||||||
T::Output: Borrow<Arc<RwLock<SubscriberSet>>>,
|
T::Output: Borrow<Arc<RwLock<SubscriberSet>>>,
|
||||||
{
|
{
|
||||||
|
#[track_caller]
|
||||||
fn to_any_source(&self) -> AnySource {
|
fn to_any_source(&self) -> AnySource {
|
||||||
self.as_subscriber_set()
|
self.as_subscriber_set()
|
||||||
.map(|subs| {
|
.map(|subs| {
|
||||||
|
|
Loading…
Reference in a new issue