1
0
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:
Martin Geisler 2023-08-04 12:04:02 +02:00 committed by GitHub
parent 5c42b6c816
commit c7240f604f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.