Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Dec 3, 2024
1 parent 1d6153b commit e4aa1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/cache/frame_publisher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl<Key: Eq + Hash, Value> FramePublisher<Key, Value> {
self.cache.insert(key, (self.generation, value));
}

/// Retrieve a value if it was publiushed this or the previous frame.
/// Retrieve a value if it was published this or the previous frame.
pub fn get(&self, key: &Key) -> Option<&Value> {
self.cache.get(key).map(|(_, value)| value)
}
Expand Down

0 comments on commit e4aa1d1

Please sign in to comment.