Skip to content

Commit de18b08

Browse files
authored
Merge pull request #68993 from amartini51/assert_65958589
Replace "sanity check" in doc comments per Apple Style Guide. https://help.apple.com/applestyleguide/#/apsge70df12b?sub=apd57d1e8d9c Resolves rdar://65958589
2 parents bde05b3 + ef84aa9 commit de18b08

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)