From 233108675508ffb890ec92ff415d8fc6fa0990a2 Mon Sep 17 00:00:00 2001 From: Jean-Pierre De Jesus DIAZ Date: Fri, 1 Dec 2023 11:43:05 +0100 Subject: [PATCH] xous-rs: Omit 'static lifetime on consts. --- xous-rs/src/definitions.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xous-rs/src/definitions.rs b/xous-rs/src/definitions.rs index 6b90c2301..4165a78d6 100644 --- a/xous-rs/src/definitions.rs +++ b/xous-rs/src/definitions.rs @@ -52,8 +52,8 @@ pub const BASE_QUANTA_MS: u32 = 10; // where _|TT|_ and _|TE|_ are bookends around the data to be reported // is a single-word identifier that routes the data to a given parser // is free-form data, which will be split at comma boundaries by the parser -pub const BOOKEND_START: &'static str = "_|TT|_"; -pub const BOOKEND_END: &'static str = "_|TE|_"; +pub const BOOKEND_START: &str = "_|TT|_"; +pub const BOOKEND_END: &str = "_|TE|_"; #[cfg(not(target_os = "xous"))] use core::sync::atomic::AtomicU64;