Diffstat (limited to 'src/build.rs')
| -rw-r--r-- | src/build.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/build.rs b/src/build.rs index a975b5c..eca91af 100644 --- a/src/build.rs +++ b/src/build.rs @@ -3,9 +3,7 @@ pub mod builders; use effectful::environment::{DynBind, EnvConfig, Environment, NativeForm}; -use crate::{ - protocol::{AsVisitor, DynVisitor}, -}; +use crate::protocol::{AsVisitor, DynVisitor}; /// A buildable type. pub trait Build<'ctx, M, E: Environment>: Sized + DynBind<E> { @@ -36,7 +34,9 @@ pub trait BuilderTypes<C: EnvConfig> { /// the builder with data from it's walk. /// - Call [`Self::build()`] to finish building the value and get any errors /// that happened during filling it with data. -pub trait Builder<'ctx, E: Environment>: DynBind<E> + AsVisitor<'ctx, E> + BuilderTypes<E> + Sized { +pub trait Builder<'ctx, E: Environment>: + DynBind<E> + AsVisitor<'ctx, E> + BuilderTypes<E> + Sized +{ fn from_seed<'a>(seed: Self::Seed) -> NativeForm<'a, Self, E> where Self: 'a; |