make Effects Send

This commit is contained in:
Folkert 2021-01-31 14:41:06 +01:00
parent 42367d37ad
commit 42bb5fc8fd
2 changed files with 3 additions and 2 deletions

View file

@ -35,6 +35,7 @@ pub enum VersionComparison {
pub enum PackageOrPath<'a> {
Package(PackageName<'a>, Version<'a>),
Path(StrLiteral<'a>),
PlatformEffectModule(Effects<'a>),
}
#[derive(Clone, PartialEq, Eq, Debug, Hash)]
@ -151,7 +152,7 @@ pub struct Effects<'a> {
pub spaces_after_type_name: &'a [CommentOrNewline<'a>],
pub type_shortname: &'a str,
pub type_name: &'a str,
pub entries: Vec<'a, Loc<TypedIdent<'a>>>,
pub entries: &'a [Loc<TypedIdent<'a>>],
}
#[derive(Clone, Debug, PartialEq)]