From db78c5021837ffa37e86162cd6df584a6de9b284 Mon Sep 17 00:00:00 2001 From: tomaka Date: Sun, 17 Sep 2017 15:18:06 +0200 Subject: [PATCH] Minor warning fix in tests (#825) --- vulkano/src/buffer/cpu_pool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vulkano/src/buffer/cpu_pool.rs b/vulkano/src/buffer/cpu_pool.rs index 6def48ef..b02899a1 100644 --- a/vulkano/src/buffer/cpu_pool.rs +++ b/vulkano/src/buffer/cpu_pool.rs @@ -815,7 +815,7 @@ mod tests { let pool = CpuBufferPool::upload(device); assert_eq!(pool.capacity(), 0); - pool.next(12); + pool.next(12).unwrap(); let first_cap = pool.capacity(); assert!(first_cap >= 1);