Skip to content

Commit fc38e7f

Browse files
committed
inline empty_cycle_heads
1 parent b21e5fb commit fc38e7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cycle.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ impl From<CycleHead> for CycleHeads {
259259
}
260260
}
261261

262+
#[inline]
262263
pub(crate) fn empty_cycle_heads() -> &'static CycleHeads {
263264
static EMPTY_CYCLE_HEADS: OnceLock<CycleHeads> = OnceLock::new();
264265
EMPTY_CYCLE_HEADS.get_or_init(|| CycleHeads(ThinVec::new()))

0 commit comments

Comments
 (0)