Skip to content

Commit 70a18f5

Browse files
committed
Change the include! note to be a list
1 parent 4e37cea commit 70a18f5

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

src/input-format.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,13 @@ r[input.tokenization]
6060
The resulting sequence of characters is then converted into tokens as described in the remainder of this chapter.
6161

6262
> [!NOTE]
63-
> The standard library [`include!`] macro applies byte order mark removal and CRLF normalization to the file it reads.
64-
> Moreover, it applies shebang removal if invoked in an item context (as opposed to expression or statement contexts).
65-
> The [`include_str!`] and [`include_bytes!`] macros do not perform any of these preprocessing steps.
63+
> The standard library [`include!`] macro applies the following transformations to the file it reads:
64+
>
65+
> - Byte order mark removal.
66+
> - CRLF normalization.
67+
> - Shebang removal when invoked in an item context (as opposed to expression or statement contexts).
68+
>
69+
> The [`include_str!`] and [`include_bytes!`] macros do not apply these transformations.
6670
6771
[inner attribute]: attributes.md
6872
[BYTE ORDER MARK]: https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8

0 commit comments

Comments
 (0)