From d00134640bb19cc91f706e511c16ef31c14502d7 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Thu, 22 Jun 2023 14:33:32 +0200 Subject: [PATCH] nl: use "const" instead of "static" --- src/uu/nl/src/nl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uu/nl/src/nl.rs b/src/uu/nl/src/nl.rs index d3e90bc75..809ff2650 100644 --- a/src/uu/nl/src/nl.rs +++ b/src/uu/nl/src/nl.rs @@ -18,8 +18,8 @@ use uucore::{format_usage, help_about, help_usage}; mod helper; -static ABOUT: &str = help_about!("nl.md"); -static USAGE: &str = help_usage!("nl.md"); +const ABOUT: &str = help_about!("nl.md"); +const USAGE: &str = help_usage!("nl.md"); // Settings store options used by nl to produce its output. pub struct Settings {