Skip to content

Commit fac6753

Browse files
committed
Replace unknown attribute norun with no_run, as per the warning
1 parent dd8a6fb commit fac6753

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

renderer/src/concurrent/executor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
pub trait Executor {
1515
/// Like the Rayon snippet:
1616
///
17-
/// ```norun
17+
/// ```no_run
1818
/// (0..length).into_par_iter().map(builder).collect()
1919
/// ```
2020
fn build_vector<T, F>(&self, length: usize, builder: F) -> Vec<T>

renderer/src/concurrent/scene_proxy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ impl SceneProxy {
9292
///
9393
/// Exactly equivalent to:
9494
///
95-
/// ```norun
95+
/// ```no_run
9696
/// scene_proxy.build(build_options);
9797
/// scene_proxy.render(renderer);
9898
/// }

0 commit comments

Comments
 (0)