This commit is contained in:
John Smith
2021-11-27 12:44:21 -05:00
parent d1f728954c
commit 028e02f942
31 changed files with 190 additions and 207 deletions
+7 -1
View File
@@ -26,6 +26,12 @@ impl EventualBase for Eventual {
}
}
impl Default for Eventual {
fn default() -> Self {
Self::new()
}
}
impl Eventual {
pub fn new() -> Self {
Self {
@@ -39,7 +45,7 @@ impl Eventual {
{
EventualFutureClone {
id: None,
value: value,
value,
eventual: self.clone(),
}
}