Merge remote-tracking branch 'upstream/master'

merging with upstream changes
This commit is contained in:
mitchmindtree 2015-02-23 00:50:10 +11:00
commit 2b86445c9a
5 changed files with 21 additions and 18 deletions

View file

@ -99,7 +99,7 @@ pub struct SamplesRate(pub u32);
/// You should destroy this object as soon as possible. Data is only committed when it
/// is destroyed.
#[must_use]
pub struct Buffer<'a, T> {
pub struct Buffer<'a, T: 'a> {
// also contains something, taken by `Drop`
target: Option<cpal_impl::Buffer<'a, T>>,