Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/release-content/migration-guides/bevy_manifest_scope_api.md
7223 views
---
title: "`BevyManifest::shared` is now a scope-like API." pull_requests: [20630]
---

In previous versions of Bevy, BevyManifest returned a mapped RwLock guard. Now, it's a scope-like API:

// 0.16 let manifest = BevyManifest::shared(); let path = manifest.get_path("my_bevy_crate"); // 0.17 let path = BevyManifest::shared(|manifest| { manifest.get_path("my_bevy_crate") });