Fix outdated id mention in Subscription docs
This commit is contained in:
parent
cc8b326dfc
commit
ba996f4b01
1 changed files with 2 additions and 1 deletions
|
|
@ -210,7 +210,8 @@ impl<T> Subscription<T> {
|
|||
/// Returns a [`Subscription`] that will create and asynchronously run the
|
||||
/// given [`Stream`].
|
||||
///
|
||||
/// The `id` will be used to uniquely identify the [`Subscription`].
|
||||
/// Both the `data` and the function pointer will be used to uniquely identify
|
||||
/// the [`Subscription`].
|
||||
pub fn run_with<D, S>(data: D, builder: fn(&D) -> S) -> Self
|
||||
where
|
||||
D: Hash + 'static,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue