mirror of
https://github.com/fluencelabs/interface-types
synced 2025-06-26 13:11:41 +00:00
feat(interface-types) Remove the 'input
lifetime on Instruction
.
This commit is contained in:
@ -89,12 +89,12 @@ pub struct Export<'input> {
|
||||
|
||||
/// Represents an adapter.
|
||||
#[derive(PartialEq, Debug)]
|
||||
pub struct Adapter<'input> {
|
||||
pub struct Adapter {
|
||||
/// The adapter function type.
|
||||
pub function_type: u32,
|
||||
|
||||
/// The instructions.
|
||||
pub instructions: Vec<Instruction<'input>>,
|
||||
pub instructions: Vec<Instruction>,
|
||||
}
|
||||
|
||||
/// Represents an implementation.
|
||||
@ -137,7 +137,7 @@ pub struct Interfaces<'input> {
|
||||
pub imports: Vec<Import<'input>>,
|
||||
|
||||
/// All the adapters.
|
||||
pub adapters: Vec<Adapter<'input>>,
|
||||
pub adapters: Vec<Adapter>,
|
||||
|
||||
/// All the exported functions.
|
||||
pub exports: Vec<Export<'input>>,
|
||||
|
Reference in New Issue
Block a user