Skip to content

Commit 1528956

Browse files
authored
Merge pull request rust-lang#645 from mb64/fix-modules-functions-typo
Fix a type in the modules section: functions => modules
2 parents 35dfbbe + 9f27989 commit 1528956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/modules.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Modules, like all items, accept outer attributes. They also accept inner
135135
attributes: either after `{` for a module with a body, or at the beginning of the
136136
source file, after the optional BOM and shebang.
137137

138-
The built-in attributes that have meaning on a function are [`cfg`],
138+
The built-in attributes that have meaning on a module are [`cfg`],
139139
[`deprecated`], [`doc`], [the lint check attributes], `path`, and
140140
`no_implicit_prelude`. Modules also accept macro attributes.
141141

0 commit comments

Comments
 (0)