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:
@ -20,7 +20,7 @@ pub struct BlockchainTests {
|
||||
|
||||
impl BlockchainTests {
|
||||
/// Create a new handler for a subset of the blockchain test suite.
|
||||
pub fn new(suite: String) -> Self {
|
||||
pub const fn new(suite: String) -> Self {
|
||||
Self { suite }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user