Skip to content

Commit

Permalink
Add missing inline for EntityPath Index (#5097)
Browse files Browse the repository at this point in the history
  • Loading branch information
jleibs authored Feb 7, 2024
1 parent cf0ecd7 commit a075ecb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/re_log_types/src/path/entity_path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ where
{
type Output = Idx::Output;

#[inline]
fn index(&self, index: Idx) -> &Self::Output {
&self.parts[index]
}
Expand Down

0 comments on commit a075ecb

Please sign in to comment.