mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-03-15 11:10:49 +00:00
remove unused
This commit is contained in:
parent
33ff0cbe1d
commit
ba45e15567
@ -8,12 +8,6 @@ enum ImportedOrDeclared<T=()> {
|
||||
Declared(T),
|
||||
}
|
||||
|
||||
impl<T> ImportedOrDeclared<T> {
|
||||
fn imported(module: String, name: String) -> Self {
|
||||
ImportedOrDeclared::Imported(module, name)
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> From<&elements::ImportEntry> for ImportedOrDeclared<T> {
|
||||
fn from(v: &elements::ImportEntry) -> Self {
|
||||
ImportedOrDeclared::Imported(v.module().to_owned(), v.field().to_owned())
|
||||
|
Loading…
x
Reference in New Issue
Block a user