Skip to content

Commit ef84aa9

Browse files
committed
Replace "sanity check" in doc comments.
1 parent 547437c commit ef84aa9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/Assert.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
/// Performs a traditional C-style assert with an optional message.
1414
///
15-
/// Use this function for internal sanity checks that are active during testing
15+
/// Use this function for internal consistency checks that are active during testing
1616
/// but do not impact performance of shipping code. To check for invalid usage
1717
/// in Release builds, see `precondition(_:_:file:line:)`.
1818
///
@@ -138,7 +138,7 @@ public func precondition(
138138
}
139139
#endif
140140

141-
/// Indicates that an internal sanity check failed.
141+
/// Indicates that an internal consistency check failed.
142142
///
143143
/// This function's effect varies depending on the build flag used:
144144
///

0 commit comments

Comments
 (0)