bevy/crates/bevy_asset
Nicola Papale 7e782f1edf
Fix example docs on embedded_asset macro (#12003)
# Objective

The derive macro wasn't doc-commented, so it showed up in the generated
doc as follow:

```rust
#[derive(Asset, TypePath)]
let shader = asset_server.load::<Shader>("embedded://bevy_rock/render/rock.wgsl");
```

Which is very confusing

## Solution

Comment the `derive` attribute as well
2024-02-20 16:13:30 +00:00
..
macros Release 0.13.0 (#11920) 2024-02-17 09:24:25 +00:00
src Fix example docs on embedded_asset macro (#12003) 2024-02-20 16:13:30 +00:00
Cargo.toml Release 0.13.0 (#11920) 2024-02-17 09:24:25 +00:00