Update readme example

This commit is contained in:
maik klein 2017-01-05 08:35:37 +01:00
parent bc8691df8a
commit 222b510f4e

View file

@ -29,7 +29,7 @@ pub fn create_instance(&self,
create_info: &vk::InstanceCreateInfo,
allocation_callbacks: Option<&vk::AllocationCallbacks>)
-> Result<Instance, InstanceError> {
let instance: Instance = entry.create_instance(&create_info, None)
let instance = entry.create_instance(&create_info, None)
.expect("Instance creation error");
```