Skip to content

Commit 277587a

Browse files
committed
Update shebang restrictions.
1 parent 89c66ab commit 277587a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/crates-and-source-files.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,9 @@ fn main() {
8888
}
8989
```
9090

91-
There are two restrictions imposed on the shebang syntax to avoid confusion
92-
with an [attribute]. The shebang line must have at least one non-[whitespace]
93-
character anywhere after the `#!` characters. Additionally, The `#!`
94-
characters must not be followed by a `[` token, ignoring intervening
95-
[comments] or [whitespace]. If either of these restrictions fails, then it is
91+
A restriction is imposed on the shebang syntax to avoid confusion with an
92+
[attribute]. The `#!` characters must not be followed by a `[` token, ignoring
93+
intervening [comments] or [whitespace]. If this restriction fails, then it is
9694
not treated as a shebang, but instead as the start of an attribute.
9795

9896
## Preludes and `no_std`

0 commit comments

Comments
 (0)