Skip to content

Commit 2c6d411

Browse files
committed
Always inline UserBounds matches
1 parent 1df2371 commit 2c6d411

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bounds.rs

+1
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ impl UserBounds {
327327
*
328328
* Fields are 1-indexed.
329329
*/
330+
#[inline(always)]
330331
pub fn matches(&self, idx: i32) -> Result<bool> {
331332
match (self.l, self.r) {
332333
(Side::Some(left), _) if (left * idx).is_negative() => {

0 commit comments

Comments
 (0)