mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Add missing_const_for_fn clippy lint (#8498)
This commit is contained in:
@ -140,7 +140,7 @@ impl LayerInfo {
|
||||
/// * `default_directive` - Directive for filtering log messages.
|
||||
/// * `filters` - Additional filtering parameters as a string.
|
||||
/// * `color` - Optional color configuration for the log messages.
|
||||
pub fn new(
|
||||
pub const fn new(
|
||||
format: LogFormat,
|
||||
default_directive: String,
|
||||
filters: String,
|
||||
|
||||
Reference in New Issue
Block a user