Merge branch 'master' into modernize-stage2

This commit is contained in:
Vexu 2019-11-23 23:01:28 +02:00 committed by GitHub
commit 89310dad56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ pub fn Future(comptime T: type) type {
pub fn init() Self {
return Self{
.lock = Lock.initLocked(),
.available = 0,
.available = .NotStarted,
.data = undefined,
};
}

View File

@ -1,4 +1,4 @@
/*
/*
* Copyright (c) 2015 Andrew Kelley
*
* This file is part of zig, which is MIT licensed.