Skip to content

Commit

Permalink
take_label
Browse files Browse the repository at this point in the history
  • Loading branch information
cart committed Sep 10, 2023
1 parent fb0fc88 commit fe05c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_asset/src/server/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl AssetInfos {
if watching_for_changes {
if let Some(path) = &path {
let mut without_label = path.to_owned();
if let Some(label) = without_label.remove_label() {
if let Some(label) = without_label.take_label() {
let labels = living_labeled_assets.entry(without_label).or_default();
labels.insert(label.to_string());
}
Expand Down

0 comments on commit fe05c68

Please sign in to comment.