Skip to content

Commit e1fb754

Browse files
committed
Add missing import statements to doctests
1 parent f99fa97 commit e1fb754

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/entry_point.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ pub trait EntryPoint: 'static + Send + Sync {
1212
/// The entry point's base function name, including module path
1313
///
1414
/// ```
15+
/// # use bevy_rust_gpu::prelude::EntryPointName;
1516
/// const NAME: EntryPointName = "mesh::entry_points::vertex";
1617
/// ```
1718
const NAME: &'static str;
1819

1920
/// Mapping from bevy shader defs to `permutate-macro` parameters.
2021
///
2122
/// ```
23+
/// # use bevy_rust_gpu::prelude::EntryPointParameters;
2224
/// const PARAMETERS: EntryPointParameters = &[
2325
/// (&[("VERTEX_TANGENTS", "some")], "none"),
2426
/// (&[("VERTEX_COLORS", "some")], "none"),

0 commit comments

Comments
 (0)