mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-29 15:49:13 +00:00
fix typo that's always bugging me
This commit is contained in:
parent
0298163211
commit
eb1e06d61d
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ impl<T> BlockingFuture<T> {
|
|||
}
|
||||
|
||||
impl<T> Promise<T> {
|
||||
pub(crate) fn fulfil(mut self, value: T) {
|
||||
pub(crate) fn fulfill(mut self, value: T) {
|
||||
self.fulfilled = true;
|
||||
self.transition(State::Full(value));
|
||||
}
|
||||
|
|
|
@ -780,7 +780,7 @@ where
|
|||
// list, notify them that the value is available.
|
||||
Some((new_value, ref cycle)) => {
|
||||
for promise in waiting.into_inner() {
|
||||
promise.fulfil(WaitResult {
|
||||
promise.fulfill(WaitResult {
|
||||
value: new_value.clone(),
|
||||
cycle: cycle.clone(),
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue