1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00

Make DemoTick field public.

This commit is contained in:
Bash 2024-02-10 20:34:08 +11:00
commit f4cc4df6df

View file

@ -241,7 +241,7 @@ impl Sub<ServerTick> for ServerTick {
Default, Default,
Display, Display,
)] )]
pub struct DemoTick(u32); pub struct DemoTick(pub u32);
impl DemoTick { impl DemoTick {
pub fn range_inclusive(&self, till: Self) -> impl Iterator<Item = Self> { pub fn range_inclusive(&self, till: Self) -> impl Iterator<Item = Self> {