Fix docstring grammar.

This commit is contained in:
general electrix 2022-10-11 03:06:34 -07:00
parent 97af8b77ae
commit d1bbbe0400

View file

@ -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,