mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-14 22:15:54 +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:
parent
5c42b6c816
commit
c7240f604f
@ -86,8 +86,8 @@ impl Rtc {
|
||||
|
||||
/// Returns whether there is currently an interrupt pending.
|
||||
///
|
||||
/// This should be true iff `matched` returns true and the interrupt is
|
||||
/// masked.
|
||||
/// This should be true if and only if `matched` returns true and the
|
||||
/// interrupt is masked.
|
||||
pub fn interrupt_pending(&self) -> bool {
|
||||
// Safe because we know that self.registers points to the control
|
||||
// registers of a PL031 device which is appropriately mapped.
|
||||
|
Loading…
Reference in New Issue
Block a user