From 3991cb50646ff8f3ce52e95eab6098afc09de85f Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 6 Jan 2025 20:35:44 -0800 Subject: [PATCH] document unclear function --- lib/common/src/gameplay_modes.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/common/src/gameplay_modes.rs b/lib/common/src/gameplay_modes.rs index b35acc6..d0d204b 100644 --- a/lib/common/src/gameplay_modes.rs +++ b/lib/common/src/gameplay_modes.rs @@ -110,6 +110,7 @@ impl Stage{ pub fn into_inner(self)->(HashMap,HashSet){ (self.ordered_checkpoints,self.unordered_checkpoints) } + /// Returns true if the stage has no checkpoints. #[inline] pub const fn is_empty(&self)->bool{ self.is_complete(0,0)