Skip to content

Commit 0b8844a

Browse files
samoylovfpalice-i-ceciledloukadakis
authored
Fix documentation for shared method in BevyManifest (#21312)
Follow up to #20630. --------- Co-authored-by: Alice Cecile <[email protected]> Co-authored-by: Dimitrios Loukadakis <[email protected]>
1 parent eac8bc7 commit 0b8844a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_macro_utils/src/bevy_manifest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub struct BevyManifest {
2020
const BEVY: &str = "bevy";
2121

2222
impl BevyManifest {
23-
/// Returns a global shared instance of the [`BevyManifest`] struct.
23+
/// Calls `f` with a global shared instance of the [`BevyManifest`] struct.
2424
pub fn shared<R>(f: impl FnOnce(&BevyManifest) -> R) -> R {
2525
static MANIFESTS: RwLock<BTreeMap<PathBuf, BevyManifest>> = RwLock::new(BTreeMap::new());
2626
let manifest_path = Self::get_manifest_path();

0 commit comments

Comments
 (0)