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:
@ -110,7 +110,7 @@ where
|
||||
///
|
||||
/// Note: this is only used internally by the [PayloadBuilderService] to manage the payload
|
||||
/// building flow See [PayloadBuilderService::poll] for implementation details.
|
||||
pub fn new(to_service: mpsc::UnboundedSender<PayloadServiceCommand<Engine>>) -> Self {
|
||||
pub const fn new(to_service: mpsc::UnboundedSender<PayloadServiceCommand<Engine>>) -> Self {
|
||||
Self { to_service }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user