mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
clippy: Fix question_mark warning (#32051)
This commit is contained in:
parent
9db9dddb88
commit
62a25fdcc4
1 changed files with 1 additions and 3 deletions
|
@ -91,9 +91,7 @@ impl AudioBufferSourceNode {
|
||||||
};
|
};
|
||||||
if let Some(ref buffer) = options.buffer {
|
if let Some(ref buffer) = options.buffer {
|
||||||
if let Some(ref buffer) = buffer {
|
if let Some(ref buffer) = buffer {
|
||||||
if let Err(err) = node.SetBuffer(Some(&**buffer)) {
|
node.SetBuffer(Some(&**buffer))?
|
||||||
return Err(err);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Ok(node)
|
Ok(node)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue