Skip to content

Commit fd82b5a

Browse files
committed
Fix docs
1 parent 0c24d31 commit fd82b5a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Utilities/expand-availability.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!/usr/bin/env python3
22

3-
# This script uses the file `availability-macros.def` to automatically
4-
# add/remove `@available` attributes to declarations in Swift sources
5-
# in this package.
3+
# This script can be used to automatically add/remove `@available` attributes to
4+
# declarations in Swift sources in this package.
65
#
76
# In order for this to work, ABI-impacting declarations need to be annotated
87
# with special comments in the following format:
@@ -34,9 +33,8 @@
3433
# "Hello"
3534
# }
3635
#
37-
# The script recognizes these attributes and updates/removes them on each run,
38-
# so you can run the script to enable/disable attributes without worrying about
39-
# duplicate attributes.
36+
# The script recognizes all three forms of these annotations and updates them on
37+
# every run, so we can run the script to enable/disable attributes as needed.
4038

4139
import os
4240
import os.path

0 commit comments

Comments
 (0)