Skip to content

Commit

Permalink
Update clippy for cfg(test) as well
Browse files Browse the repository at this point in the history
Signed-off-by: Michael X. Grey <greyxmike@gmail.com>
  • Loading branch information
mxgrey committed Dec 2, 2024
1 parent 32249b8 commit 70e86f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rclrs/src/logging/logging_configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pub(crate) mod log_handler {
pub(crate) message: Cow<'a, str>,
}

impl<'a> LogEntry<'a> {
impl LogEntry<'_> {
/// Change the entry from something borrowed into something owned
pub(crate) fn into_owned(self) -> LogEntry<'static> {
LogEntry {
Expand All @@ -124,7 +124,7 @@ pub(crate) mod log_handler {
pub line_number: usize,
}

impl<'a> LogLocation<'a> {
impl LogLocation<'_> {
pub(crate) fn into_owned(self) -> LogLocation<'static> {
LogLocation {
function_name: Cow::Owned(self.function_name.into_owned()),
Expand Down

0 comments on commit 70e86f7

Please sign in to comment.