avm2: Rectangle fix clippy

This commit is contained in:
lukaszN 2021-08-22 13:15:16 +02:00 committed by kmeisthax
parent cf3f02a9ce
commit 8e596c2a35
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ fn contains_tuple<'gc>(
let top = get_prop!(*this, activation, "y")?; let top = get_prop!(*this, activation, "y")?;
let bottom = get_prop!(*this, activation, "height")? + top; let bottom = get_prop!(*this, activation, "height")? + top;
return Ok(left <= x && x < right && top <= y && y < bottom); Ok(left <= x && x < right && top <= y && y < bottom)
} }
/// Implement `contains` /// Implement `contains`