Skip to content

Commit

Permalink
doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Joatin committed Mar 11, 2022
1 parent e1ad505 commit 2ddb4fc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ This crate does all of this and puts it inside a nice and tidy trait.

## Usage

Make sure you have it installed
Make sure you have the dependencies in place

```toml
[dependencies]
wgpu_tokio = "0.0.1"
wgpu = "0.12"
wgpu_tokio = "0.12"
```

Then in you code make sure you are using the trait
Expand All @@ -31,7 +32,7 @@ Then in you code make sure you are using the trait
use wgpu_tokio::DeviceAsyncExt;
```

The trait requires that the device is behind and ```Arc```. The just go ahead and do something.
The trait requires that the device is behind and ```Arc```. Then just go ahead and do something.

```rust
async fn do_something(device: Arc<Device>) {
Expand Down

0 comments on commit 2ddb4fc

Please sign in to comment.