mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-11 01:35:26 +00:00
gstreamer: Silence a new clippy warning in the tests
This commit is contained in:
parent
605c633579
commit
711a4bb76e
1 changed files with 1 additions and 0 deletions
|
@ -556,6 +556,7 @@ mod tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[allow(clippy::nonminimal_bool)]
|
||||||
fn comp() {
|
fn comp() {
|
||||||
assert!(ClockTime::ZERO < CT_2);
|
assert!(ClockTime::ZERO < CT_2);
|
||||||
assert!(Some(ClockTime::ZERO) < Some(CT_2));
|
assert!(Some(ClockTime::ZERO) < Some(CT_2));
|
||||||
|
|
Loading…
Reference in a new issue