You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-15 13:50:27 +02:00
Expand "iff" to "if and only if" in pl031.rs (#1052)
* Expand "if" to "if and only if" in pl031.rs Similar to #1051.
This commit is contained in:
@ -86,8 +86,8 @@ impl Rtc {
|
|||||||
|
|
||||||
/// Returns whether there is currently an interrupt pending.
|
/// Returns whether there is currently an interrupt pending.
|
||||||
///
|
///
|
||||||
/// This should be true iff `matched` returns true and the interrupt is
|
/// This should be true if and only if `matched` returns true and the
|
||||||
/// masked.
|
/// interrupt is masked.
|
||||||
pub fn interrupt_pending(&self) -> bool {
|
pub fn interrupt_pending(&self) -> bool {
|
||||||
// Safe because we know that self.registers points to the control
|
// Safe because we know that self.registers points to the control
|
||||||
// registers of a PL031 device which is appropriately mapped.
|
// registers of a PL031 device which is appropriately mapped.
|
||||||
|
Reference in New Issue
Block a user