Fix docstring grammar.
This commit is contained in:
parent
97af8b77ae
commit
d1bbbe0400
1 changed files with 1 additions and 1 deletions
|
|
@ -428,7 +428,7 @@ struct StreamInner {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Register the on-disconnect callback.
|
/// Register the on-disconnect callback.
|
||||||
/// This will both stop the stream and call the error callback DeviceNotAvailable.
|
/// This will both stop the stream and call the error callback with DeviceNotAvailable.
|
||||||
/// This function should only be called once per stream.
|
/// This function should only be called once per stream.
|
||||||
fn add_disconnect_listener<E>(
|
fn add_disconnect_listener<E>(
|
||||||
stream: &Stream,
|
stream: &Stream,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue