From e092dcc7a60ab5f01a6bb7f8f5837f2f409f4bd9 Mon Sep 17 00:00:00 2001 From: ely-uf Date: Sun, 2 Aug 2020 18:51:12 +0300 Subject: [PATCH] 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. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 06df8ac..67b709c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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**.