File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ impl BasicBlock {
146
146
}
147
147
148
148
/// Prepends one `BasicBlock` before another.
149
- /// It returns `Err(())` when either `BasicBlock` has no parent, as LLVM assumes it has a parent .
149
+ /// It returns `Err(())` when either `BasicBlock` has no parent, as LLVM assumes they both have parents .
150
150
///
151
151
/// # Example
152
152
/// ```no_run
@@ -183,7 +183,7 @@ impl BasicBlock {
183
183
}
184
184
185
185
/// Appends one `BasicBlock` after another.
186
- /// It returns `Err(())` when either `BasicBlock` has no parent, as LLVM assumes it has a parent .
186
+ /// It returns `Err(())` when either `BasicBlock` has no parent, as LLVM assumes they both have parents .
187
187
///
188
188
/// # Example
189
189
/// ```no_run
@@ -355,8 +355,8 @@ impl BasicBlock {
355
355
Some ( InstructionValue :: new ( value) )
356
356
}
357
357
358
- /// Removes this `BasicBlock` from its parent `FunctionValue`. Does nothing if it has no parent.
359
- /// It returns `Err(())` when it has no parent to remove from, as LLVM assumes it has a parent .
358
+ /// Removes this `BasicBlock` from its parent `FunctionValue`.
359
+ /// It returns `Err(())` when it has no parent to remove from.
360
360
///
361
361
/// # Example
362
362
/// ```no_run
You can’t perform that action at this time.
0 commit comments