Skip to content

Commit b1620d2

Browse files
committed
Docs cleanup
1 parent eeab137 commit b1620d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: src/basic_block.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ impl BasicBlock {
146146
}
147147

148148
/// 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.
150150
///
151151
/// # Example
152152
/// ```no_run
@@ -183,7 +183,7 @@ impl BasicBlock {
183183
}
184184

185185
/// 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.
187187
///
188188
/// # Example
189189
/// ```no_run
@@ -355,8 +355,8 @@ impl BasicBlock {
355355
Some(InstructionValue::new(value))
356356
}
357357

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.
360360
///
361361
/// # Example
362362
/// ```no_run

0 commit comments

Comments
 (0)