Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit d50ef9a

Browse files
committed
lint: clippy missing const
1 parent 132a60b commit d50ef9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = [ "crates/*" ]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "0.7.0"
6+
version = "0.7.1"
77
edition = "2021"
88
rust-version = "1.76"
99
authors = ["Zenith Contributors"]

crates/types/src/orders/signed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub struct SignedOrder {
1414

1515
impl SignedOrder {
1616
/// Creates a new signed order.
17-
pub fn new(permit: Permit2Batch, outputs: Vec<Output>) -> Self {
17+
pub const fn new(permit: Permit2Batch, outputs: Vec<Output>) -> Self {
1818
Self { permit, outputs }
1919
}
2020
}

0 commit comments

Comments
 (0)