Skip to content

Commit d35c8c7

Browse files
committed
lints
1 parent ef5149b commit d35c8c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/viewer/re_viewer_context/src/time_control.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ impl<T: BlueprintContext> TimeBlueprintExt for T {
8282

8383
Some(TimelineName::new(timeline.as_str()))
8484
}
85+
8586
fn clear_timeline(&self) {
8687
self.clear_blueprint_component(
8788
time_panel_blueprint_entity_path(),
@@ -980,12 +981,14 @@ pub struct BlueprintTimeControl(TimeControl);
980981
impl Deref for BlueprintTimeControl {
981982
type Target = TimeControl;
982983

984+
#[inline]
983985
fn deref(&self) -> &Self::Target {
984986
&self.0
985987
}
986988
}
987989

988990
impl DerefMut for BlueprintTimeControl {
991+
#[inline]
989992
fn deref_mut(&mut self) -> &mut Self::Target {
990993
&mut self.0
991994
}

0 commit comments

Comments
 (0)