feat(interface-types) Forwarded adapters have been removed.

This commit is contained in:
Ivan Enderlin
2020-02-24 15:56:11 +01:00
parent 1f2a5640a6
commit 165a8ca585
6 changed files with 6 additions and 158 deletions

View File

@ -175,13 +175,6 @@ pub enum Adapter<'input> {
},
}
/// Represented a forwarded export.
#[derive(PartialEq, Debug)]
pub struct Forward<'input> {
/// The forwarded export name.
pub name: &'input str,
}
/// Represents a set of interfaces, i.e. it entirely describes a WIT
/// definition.
#[derive(PartialEq, Default, Debug)]
@ -197,7 +190,4 @@ pub struct Interfaces<'input> {
/// All the adapters.
pub adapters: Vec<Adapter<'input>>,
/// All the forwarded functions.
pub forwards: Vec<Forward<'input>>,
}