Address various rustc warnings
Change-Id: I61bbfcdbbbb9a4795e2c280f70903e1b66a165c9
Signed-off-by: James Kuszmaul <james.kuszmaul@bluerivertech.com>
diff --git a/aos/events/simulated_event_loop.rs b/aos/events/simulated_event_loop.rs
index b453879..c75f34e 100644
--- a/aos/events/simulated_event_loop.rs
+++ b/aos/events/simulated_event_loop.rs
@@ -60,7 +60,7 @@
/// Creates a Rust-owned EventLoop.
///
/// You probably don't want to call this directly if you're creating a Rust application. This
- /// is intended for creating C++ applications. Use [`make_runtime`] instead when creating Rust
+ /// is intended for creating C++ applications. Use [`Self::make_runtime`] instead when creating Rust
/// applications.
pub fn make_event_loop(&mut self, name: &str, node: Option<&Node>) -> UniquePtr<CppEventLoop> {
// SAFETY:
@@ -77,7 +77,7 @@
}
}
- /// Creates an [`EventLoopRuntime`] wrapper which also owns its underlying [`EventLoop`].
+ /// Creates an [`EventLoopRuntime`] wrapper which also owns its underlying [`CppEventLoop`].
///
/// All setup must be performed with `fun`, which is called before this function returns. `fun`
/// may create further objects to use in async functions via [`EventLoop.spawn`] etc, but it is