nl: use "const" instead of "static"

This commit is contained in:
Daniel Hofstetter 2023-06-22 14:33:32 +02:00
parent c32139784a
commit d00134640b

View file

@ -18,8 +18,8 @@ use uucore::{format_usage, help_about, help_usage};
mod helper; mod helper;
static ABOUT: &str = help_about!("nl.md"); const ABOUT: &str = help_about!("nl.md");
static USAGE: &str = help_usage!("nl.md"); const USAGE: &str = help_usage!("nl.md");
// Settings store options used by nl to produce its output. // Settings store options used by nl to produce its output.
pub struct Settings { pub struct Settings {