mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
docs(build-rs): Remove reference to encoding
This commit is contained in:
parent
8b43030bb7
commit
c02c9f2517
@ -494,7 +494,7 @@ pub fn cargo_pkg_version_pre() -> Option<String> {
|
|||||||
to_opt(var_or_panic("CARGO_PKG_VERSION_PRE")).map(to_string)
|
to_opt(var_or_panic("CARGO_PKG_VERSION_PRE")).map(to_string)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Colon separated list of authors from the manifest of your package.
|
/// The authors from the manifest of your package.
|
||||||
#[track_caller]
|
#[track_caller]
|
||||||
pub fn cargo_pkg_authors() -> Vec<String> {
|
pub fn cargo_pkg_authors() -> Vec<String> {
|
||||||
to_strings(var_or_panic("CARGO_PKG_AUTHORS"), ':')
|
to_strings(var_or_panic("CARGO_PKG_AUTHORS"), ':')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user