Skip to content

Commit 86c65e8

Browse files
jcha0713lpil
authored andcommitted
doc: use documentation comments
1 parent baafba2 commit 86c65e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-cli/src/publish.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ fn check_for_name_squatting(package: &Package) -> Result<(), Error> {
159159
Ok(())
160160
}
161161

162-
// Checks if publishing packages contain default main functions.
163-
// Main functions with documentation are considered intentional and allowed.
162+
/// Checks if publishing packages contain default main functions.
163+
/// Main functions with documentation are considered intentional and allowed.
164164
fn check_for_default_main(package: &Package) -> Result<(), Error> {
165165
let package_name = &package.config.name;
166166

0 commit comments

Comments
 (0)