@@ -31,7 +31,7 @@ impl BasicBlock {
31
31
/// Obtains the `FunctionValue` that this `BasicBlock` belongs to, if any.
32
32
///
33
33
/// # Example
34
- /// ```
34
+ /// ```no_run
35
35
/// use inkwell::context::Context;
36
36
/// use inkwell::module::Module;
37
37
/// use inkwell::builder::Builder;
@@ -61,7 +61,7 @@ impl BasicBlock {
61
61
/// Gets the `BasicBlock` preceeding the current one, in its own scope, if any.
62
62
///
63
63
/// # Example
64
- /// ```
64
+ /// ```no_run
65
65
/// use inkwell::context::Context;
66
66
/// use inkwell::module::Module;
67
67
/// use inkwell::builder::Builder;
@@ -95,7 +95,7 @@ impl BasicBlock {
95
95
/// Gets the `BasicBlock` succeeding the current one, in its own scope, if any.
96
96
///
97
97
/// # Example
98
- /// ```
98
+ /// ```no_run
99
99
/// use inkwell::context::Context;
100
100
/// use inkwell::module::Module;
101
101
/// use inkwell::builder::Builder;
@@ -130,7 +130,7 @@ impl BasicBlock {
130
130
/// Prepends one `BasicBlock` before another.
131
131
///
132
132
/// # Example
133
- /// ```
133
+ /// ```no_run
134
134
/// use inkwell::context::Context;
135
135
/// use inkwell::module::Module;
136
136
/// use inkwell::builder::Builder;
@@ -159,7 +159,7 @@ impl BasicBlock {
159
159
/// Appends one `BasicBlock` after another.
160
160
///
161
161
/// # Example
162
- /// ```
162
+ /// ```no_run
163
163
/// use inkwell::context::Context;
164
164
/// use inkwell::module::Module;
165
165
/// use inkwell::builder::Builder;
@@ -188,7 +188,7 @@ impl BasicBlock {
188
188
/// Prepends a new `BasicBlock` before this one.
189
189
///
190
190
/// # Example
191
- /// ```
191
+ /// ```no_run
192
192
/// use inkwell::context::Context;
193
193
/// use inkwell::module::Module;
194
194
/// use inkwell::builder::Builder;
@@ -218,7 +218,7 @@ impl BasicBlock {
218
218
/// Obtains the first `InstructionValue` in this `BasicBlock`, if any.
219
219
///
220
220
/// # Example
221
- /// ```
221
+ /// ```no_run
222
222
/// use inkwell::context::Context;
223
223
/// use inkwell::module::Module;
224
224
/// use inkwell::builder::Builder;
@@ -252,7 +252,7 @@ impl BasicBlock {
252
252
/// Obtains the last `InstructionValue` in this `BasicBlock`, if any. A `BasicBlock` must have a last instruction to be valid.
253
253
///
254
254
/// # Example
255
- /// ```
255
+ /// ```no_run
256
256
/// use inkwell::context::Context;
257
257
/// use inkwell::module::Module;
258
258
/// use inkwell::builder::Builder;
@@ -286,7 +286,7 @@ impl BasicBlock {
286
286
/// Obtains the terminating `InstructionValue` in this `BasicBlock`, if any. A `BasicBlock` must have a terminating instruction to be valid.
287
287
///
288
288
/// # Example
289
- /// ```
289
+ /// ```no_run
290
290
/// use inkwell::context::Context;
291
291
/// use inkwell::module::Module;
292
292
/// use inkwell::builder::Builder;
@@ -324,7 +324,7 @@ impl BasicBlock {
324
324
/// Removes this `BasicBlock` from its parent `FunctionValue`. Does nothing if it has no parent.
325
325
///
326
326
/// # Example
327
- /// ```
327
+ /// ```no_run
328
328
/// use inkwell::context::Context;
329
329
/// use inkwell::module::Module;
330
330
/// use inkwell::builder::Builder;
@@ -358,7 +358,7 @@ impl BasicBlock {
358
358
/// Removes this `BasicBlock` completely from memory. This is unsafe because you could easily have other references to the same `BasicBlock`.
359
359
///
360
360
/// # Example
361
- /// ```
361
+ /// ```no_run
362
362
/// use inkwell::context::Context;
363
363
/// use inkwell::module::Module;
364
364
/// use inkwell::builder::Builder;
@@ -385,7 +385,7 @@ impl BasicBlock {
385
385
/// Obtains the `ContextRef` this `BasicBlock` belongs to.
386
386
///
387
387
/// # Example
388
- /// ```
388
+ /// ```no_run
389
389
/// use inkwell::context::Context;
390
390
/// use inkwell::module::Module;
391
391
/// use inkwell::builder::Builder;
0 commit comments