Fix broken Stream concept link in the docs.

Affects the "How to use cpal" section on the main page of the docs.

Point the `Stream` link to the `struct Stream` following the example
of the `Device` and `Host` links from the same section.
This commit is contained in:
ely-uf 2020-08-02 18:51:12 +03:00
parent bfffbb5241
commit e092dcc7a6

View file

@ -7,7 +7,7 @@
//! least one [**DefaultHost**](./struct.Host.html) that is guaranteed to be available.
//! - A [**Device**](./struct.Device.html) is an audio device that may have any number of input and
//! output streams.
//! - A [**Stream**](./trait.Stream.html) is an open flow of audio data. Input streams allow you to
//! - A [**Stream**](./struct.Stream.html) is an open flow of audio data. Input streams allow you to
//! receive audio data, output streams allow you to play audio data. You must choose which
//! **Device** will run your stream before you can create one. Often, a default device can be
//! retrieved via the **Host**.