Skip to content

Commit f8304c5

Browse files
committed
lints
1 parent d98c1f7 commit f8304c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/viewer/re_ui/src/list_item/list_item.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,9 @@ impl ListItem {
146146
/// visible.
147147
///
148148
/// Skipping rendering can increase performances for long lists that are mostly out of view, but
149-
/// this will prevent any side effects from [`ListItemContent::ui`] from occuring. For this
149+
/// this will prevent any side effects from [`ListItemContent::ui`] from occurring. For this
150150
/// reason, this is an opt-in optimization.
151+
#[inline]
151152
pub fn render_offscreen(mut self, render_offscreen: bool) -> Self {
152153
self.render_offscreen = render_offscreen;
153154
self

0 commit comments

Comments
 (0)