rename inner on event to data
This commit is contained in:
12 files changed
+47
-50
No files matched your search
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user