File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ memoffset = "0.5"
43
43
takeable-option = " 0.5"
44
44
backtrace = " 0.3.2"
45
45
lazy_static = " 1.0"
46
- smallvec = " 0.6 "
46
+ smallvec = " 1.0 "
47
47
fnv = " 1.0.5"
48
48
49
49
[build-dependencies ]
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ impl Fences {
37
37
let mut existing_fences = self . fences . borrow_mut ( ) ;
38
38
let mut new_fences = SmallVec :: new ( ) ;
39
39
40
- for existing in existing_fences. drain ( ) {
40
+ for existing in existing_fences. drain ( .. ) {
41
41
if ( existing. 0 . start >= range. start && existing. 0 . start < range. end ) ||
42
42
( existing. 0 . end > range. start && existing. 0 . end < range. end )
43
43
{
@@ -53,7 +53,7 @@ impl Fences {
53
53
/// Cleans up all fences in the container. Must be called or you'll get a panic.
54
54
pub fn clean ( & mut self , ctxt : & mut CommandContext ) {
55
55
let mut fences = self . fences . borrow_mut ( ) ;
56
- for ( _, sync) in fences. drain ( ) {
56
+ for ( _, sync) in fences. drain ( .. ) {
57
57
unsafe { sync:: destroy_linear_sync_fence ( ctxt, sync) } ;
58
58
}
59
59
}
@@ -73,7 +73,7 @@ impl<'a> Inserter<'a> {
73
73
let mut written = false ;
74
74
75
75
let mut existing_fences = self . fences . fences . borrow_mut ( ) ;
76
- for existing in existing_fences. drain ( ) {
76
+ for existing in existing_fences. drain ( .. ) {
77
77
if existing. 0 . start < self . range . start && existing. 0 . end <= self . range . start {
78
78
new_fences. push ( existing) ;
79
79
You can’t perform that action at this time.
0 commit comments