rename inner on event to data

This commit is contained in:
Jonathan Kelley committed 2024-01-31 16:26:19 -08:00
1 parent 33e90da314
commit a14789eebc
12 files changed
+47 -50

No files matched your search

+2 -2
View File
@@ -107,8 +107,8 @@ impl<T> Event<T> {
/// }
/// }
/// ```
pub fn inner(&self) -> &Rc<T> {
&self.data
pub fn data(&self) -> Rc<T> {
self.data.clone()
}
}