We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51028fa commit 1f3b402Copy full SHA for 1f3b402
src/issuance.rs
@@ -76,7 +76,7 @@ impl AssetId {
76
]));
77
78
/// Create an [AssetId] from its inner type.
79
- pub fn from_inner(midstate: sha256::Midstate) -> AssetId {
+ pub const fn from_inner(midstate: sha256::Midstate) -> AssetId {
80
AssetId(midstate)
81
}
82
0 commit comments