Skip to content

Adding dependencies that have already been added #671

Description

@fryeb

In the Cleaning Up section of Tutorial 5 currently reads ```

For convenience, let's pull our texture code into its own module. 
We'll add the [anyhow](https://docs.rs/anyhow/) crate to our Cargo.toml file to simplify error handling. 
We'll also add the [bytemuck](https://docs.rs/bytemuck) crate to help pass mesh data to wgpu.

However, anyhow is already added in the first tutorial and bytemuck is already added (with the derive feature) in the [fourth tutorial](https://sotrh.github.io/learn-wgpu/beginner/tutorial4-buffer/#the-vertex-buffer].

Solution

The simplest solution would just be to remove the lines about adding anyhow & bytemuck from tutorial 5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions