Skip to content

Commit 16285e7

Browse files
authored
Merge pull request #2003 from Abhinav-ranish/fix/1954-formatted-print-module-wording
fix: replace confusing 'module' with 'item' in formatted print docs
2 parents 37853a7 + cfec4e2 commit 16285e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hello/print.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ for these types. To print text for custom types, more steps are required.
8787
Implementing the `fmt::Display` trait automatically implements the
8888
[`ToString`] trait which allows us to [convert] the type to [`String`][string].
8989

90-
In *line 43*, `#[allow(dead_code)]` is an [attribute] which only applies to the module after it.
90+
In *line 43*, `#[allow(dead_code)]` is an [attribute] which only applies to the item after it.
9191

9292
### Activities
9393

0 commit comments

Comments
 (0)