Skip to content

Commit b7389a5

Browse files
committed
fix doctest
1 parent 2f8e0c1 commit b7389a5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

spirv-tools-sys/src/opt.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ pub enum Passes {
5555
/// Creates a conditional constant propagation (CCP) pass.
5656
/// This pass implements the SSA-CCP algorithm in
5757
///
58-
/// Constant propagation with conditional branches,
59-
/// Wegman and Zadeck, ACM TOPLAS 13(2):181-210.
58+
/// Constant propagation with conditional branches,
59+
/// Wegman and Zadeck, ACM TOPLAS 13(2):181-210.
6060
///
6161
/// Constant values in expressions and conditional jumps are folded and
6262
/// simplified. This may reduce code size by removing never executed jump targets

spirv-tools-sys/src/shared.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::fmt;
88
/// the method will choose the highest version of SPIR-V supported by the target
99
/// environment. Examples:
1010
///
11-
/// ```
11+
/// ```text
1212
/// SPV_ENV_VULKAN_1_0 -> SPIR-V 1.0
1313
/// SPV_ENV_VULKAN_1_1 -> SPIR-V 1.3
1414
/// SPV_ENV_VULKAN_1_1_SPIRV_1_4 -> SPIR-V 1.4

0 commit comments

Comments
 (0)