Skip to content

Commit 5048147

Browse files
committed
Remove note about exceptions being unsafe
1 parent d1d470f commit 5048147

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

crates/header-translator/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,6 @@ specific API!
8383

8484
Note: This is the hardest part; determining for sure if a given method is
8585
safe or not!
86-
3. If the method can throw an exception if provided with invalid inputs, it is
87-
not safe. Consider declaring a helper method that checks the preconditions
88-
first!
89-
90-
Invalid indexes will throw `NSRangeException`, which is _technically_ still
91-
unsafe, but everything in Objective-C can throw, so we won't really bother
92-
with that in our evaluation.
9386

9487
Note: It is _not_ considered a breaking change for a method to be marked safe,
9588
so such an improvement can be made in a minor version!

0 commit comments

Comments
 (0)