Diffstat (limited to 'src/build.rs')
-rw-r--r--src/build.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/build.rs b/src/build.rs
index e1c62f7..3ce2b68 100644
--- a/src/build.rs
+++ b/src/build.rs
@@ -1,7 +1,7 @@
pub mod builders;
use crate::{
- effect::{Effect, ObjSafe},
+ effect::{Effect, ErasedEffective},
protocol::DynVisitor,
};
@@ -35,7 +35,7 @@ pub trait BuilderTypes {
/// - Call [`Self::build()`] to finish building the value and get any errors
/// that happened during filling it with data.
pub trait Builder<'ctx, E: Effect>: BuilderTypes + Sized + Send + Sync {
- fn from_seed<'a>(seed: Self::Seed) -> ObjSafe<'a, Self, E>
+ fn from_seed<'a>(seed: Self::Seed) -> ErasedEffective<'a, Self, E>
where
Self: 'a;
@@ -43,7 +43,7 @@ pub trait Builder<'ctx, E: Effect>: BuilderTypes + Sized + Send + Sync {
///
/// If an error happened with the builder during the walk
/// it will be reported here.
- fn build<'a>(self) -> ObjSafe<'a, Result<Self::Value, Self::Error>, E>
+ fn build<'a>(self) -> ErasedEffective<'a, Result<Self::Value, Self::Error>, E>
where
Self: 'a;