don't run doc code
This commit is contained in:
parent
d3b7d9c0aa
commit
47e77f2513
|
@ -14,7 +14,9 @@
|
|||
pub trait Executor {
|
||||
/// Like the Rayon snippet:
|
||||
///
|
||||
/// (0..length).into_par_iter().flat_map(builder).collect()
|
||||
/// ```norun
|
||||
/// (0..length).into_par_iter().flat_map(builder).collect()
|
||||
/// ```
|
||||
fn flatten_into_vector<T, F>(&self, length: usize, builder: F) -> Vec<T>
|
||||
where T: Send, F: Fn(usize) -> Vec<T> + Send + Sync;
|
||||
}
|
||||
|
|
|
@ -77,9 +77,11 @@ impl SceneProxy {
|
|||
///
|
||||
/// Exactly equivalent to:
|
||||
///
|
||||
/// for command in scene_proxy.build_with_stream(options) {
|
||||
/// renderer.render_command(&command)
|
||||
/// }
|
||||
/// ```norun
|
||||
/// for command in scene_proxy.build_with_stream(options) {
|
||||
/// renderer.render_command(&command)
|
||||
/// }
|
||||
/// ```
|
||||
#[inline]
|
||||
pub fn build_and_render<D>(&self, renderer: &mut Renderer<D>, build_options: BuildOptions)
|
||||
where D: Device {
|
||||
|
|
Loading…
Reference in New Issue