Skip to content

Commit 2db8ce1

Browse files
committed
Marked doc tests as no run
1 parent 09554e5 commit 2db8ce1

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/basic_block.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ impl BasicBlock {
3131
/// Obtains the `FunctionValue` that this `BasicBlock` belongs to, if any.
3232
///
3333
/// # Example
34-
/// ```
34+
/// ```no_run
3535
/// use inkwell::context::Context;
3636
/// use inkwell::module::Module;
3737
/// use inkwell::builder::Builder;
@@ -61,7 +61,7 @@ impl BasicBlock {
6161
/// Gets the `BasicBlock` preceeding the current one, in its own scope, if any.
6262
///
6363
/// # Example
64-
/// ```
64+
/// ```no_run
6565
/// use inkwell::context::Context;
6666
/// use inkwell::module::Module;
6767
/// use inkwell::builder::Builder;
@@ -95,7 +95,7 @@ impl BasicBlock {
9595
/// Gets the `BasicBlock` succeeding the current one, in its own scope, if any.
9696
///
9797
/// # Example
98-
/// ```
98+
/// ```no_run
9999
/// use inkwell::context::Context;
100100
/// use inkwell::module::Module;
101101
/// use inkwell::builder::Builder;
@@ -130,7 +130,7 @@ impl BasicBlock {
130130
/// Prepends one `BasicBlock` before another.
131131
///
132132
/// # Example
133-
/// ```
133+
/// ```no_run
134134
/// use inkwell::context::Context;
135135
/// use inkwell::module::Module;
136136
/// use inkwell::builder::Builder;
@@ -159,7 +159,7 @@ impl BasicBlock {
159159
/// Appends one `BasicBlock` after another.
160160
///
161161
/// # Example
162-
/// ```
162+
/// ```no_run
163163
/// use inkwell::context::Context;
164164
/// use inkwell::module::Module;
165165
/// use inkwell::builder::Builder;
@@ -188,7 +188,7 @@ impl BasicBlock {
188188
/// Prepends a new `BasicBlock` before this one.
189189
///
190190
/// # Example
191-
/// ```
191+
/// ```no_run
192192
/// use inkwell::context::Context;
193193
/// use inkwell::module::Module;
194194
/// use inkwell::builder::Builder;
@@ -218,7 +218,7 @@ impl BasicBlock {
218218
/// Obtains the first `InstructionValue` in this `BasicBlock`, if any.
219219
///
220220
/// # Example
221-
/// ```
221+
/// ```no_run
222222
/// use inkwell::context::Context;
223223
/// use inkwell::module::Module;
224224
/// use inkwell::builder::Builder;
@@ -252,7 +252,7 @@ impl BasicBlock {
252252
/// Obtains the last `InstructionValue` in this `BasicBlock`, if any. A `BasicBlock` must have a last instruction to be valid.
253253
///
254254
/// # Example
255-
/// ```
255+
/// ```no_run
256256
/// use inkwell::context::Context;
257257
/// use inkwell::module::Module;
258258
/// use inkwell::builder::Builder;
@@ -286,7 +286,7 @@ impl BasicBlock {
286286
/// Obtains the terminating `InstructionValue` in this `BasicBlock`, if any. A `BasicBlock` must have a terminating instruction to be valid.
287287
///
288288
/// # Example
289-
/// ```
289+
/// ```no_run
290290
/// use inkwell::context::Context;
291291
/// use inkwell::module::Module;
292292
/// use inkwell::builder::Builder;
@@ -324,7 +324,7 @@ impl BasicBlock {
324324
/// Removes this `BasicBlock` from its parent `FunctionValue`. Does nothing if it has no parent.
325325
///
326326
/// # Example
327-
/// ```
327+
/// ```no_run
328328
/// use inkwell::context::Context;
329329
/// use inkwell::module::Module;
330330
/// use inkwell::builder::Builder;
@@ -358,7 +358,7 @@ impl BasicBlock {
358358
/// Removes this `BasicBlock` completely from memory. This is unsafe because you could easily have other references to the same `BasicBlock`.
359359
///
360360
/// # Example
361-
/// ```
361+
/// ```no_run
362362
/// use inkwell::context::Context;
363363
/// use inkwell::module::Module;
364364
/// use inkwell::builder::Builder;
@@ -385,7 +385,7 @@ impl BasicBlock {
385385
/// Obtains the `ContextRef` this `BasicBlock` belongs to.
386386
///
387387
/// # Example
388-
/// ```
388+
/// ```no_run
389389
/// use inkwell::context::Context;
390390
/// use inkwell::module::Module;
391391
/// use inkwell::builder::Builder;

0 commit comments

Comments
 (0)