refactor!: removed HitObject::end_time from public api (#25)

This commit is contained in:
Badewanne3
2023-11-10 15:27:24 +01:00
committed by GitHub
parent 3492a9472e
commit b6b97c1007
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -16,8 +16,7 @@ pub struct HitObject {
impl HitObject {
/// The end time of the object.
#[inline]
pub fn end_time(&self) -> f64 {
pub(crate) fn end_time(&self) -> f64 {
match &self.kind {
HitObjectKind::Circle => self.start_time,
// incorrect, only called in mania which has no sliders though