Skip to content

Commit d5f5ae5

Browse files
committed
note that package_name is always UTF-8
1 parent a96c13e commit d5f5ae5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cargo-marker/src/lints.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ use std::{
77
use crate::ExitStatus;
88

99
pub struct LintCrateSpec<'a> {
10-
/// Optional package name, exists if supplied from config:
10+
/// Optional package name (this is always UTF-8, as opposed to `dir`), exists if supplied from
11+
/// config:
12+
///
1113
/// ```toml
1214
/// lint_a = { path = "" }
1315
/// # `lint_a` is the package_name

0 commit comments

Comments
 (0)