From 9901e7c6735356b1970ddabc926bc5378d82e057 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Wed, 22 Mar 2023 10:17:30 +0100 Subject: [PATCH] Lint fixes --- crates/re_log/src/multi_logger.rs | 2 +- crates/re_viewer/src/remote_viewer_app.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/re_log/src/multi_logger.rs b/crates/re_log/src/multi_logger.rs index 400545b69824..62831a61b2a4 100644 --- a/crates/re_log/src/multi_logger.rs +++ b/crates/re_log/src/multi_logger.rs @@ -6,7 +6,7 @@ static MULTI_LOGGER: MultiLogger = MultiLogger::new(); static HAS_MULTI_LOGGER: AtomicBool = AtomicBool::new(false); -/// Produced when trying to install additional loggers when [`init`] has not been called. +/// Produced when trying to install additional loggers when [`crate::setup_native_logging`] has not been called. /// /// This can happen for example when users of the `rerun` crate use the `spawn` method, /// and they aren't using `re_log`. diff --git a/crates/re_viewer/src/remote_viewer_app.rs b/crates/re_viewer/src/remote_viewer_app.rs index 7d76449c654d..bcd6f37e609d 100644 --- a/crates/re_viewer/src/remote_viewer_app.rs +++ b/crates/re_viewer/src/remote_viewer_app.rs @@ -77,7 +77,7 @@ impl RemoteViewerApp { self.app = Some((connection, app)); } Err(err) => { - re_log::error!("Failed to connect to {:?}: {}", self.url, err); + re_log::error!("Failed to connect to {:?}: {err}", self.url); } } }