mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
chore: fix some typos
Signed-off-by: pudongair <744355276@qq.com>
This commit is contained in:
parent
662213b095
commit
6c7c360dec
@ -173,7 +173,7 @@ pub fn resolve_with_global_context_raw(
|
||||
// we found a case that causes a panic and did not use all of the input.
|
||||
// lets print the part of the input that was used for minimization.
|
||||
eprintln!(
|
||||
"Part used befor drop: {:?}",
|
||||
"Part used before drop: {:?}",
|
||||
PrettyPrintRegistry(
|
||||
self.list
|
||||
.iter()
|
||||
|
@ -8,7 +8,7 @@
|
||||
//! a [`FutureIncompatReport`], Cargo gathers and forwards it as a
|
||||
//! `Message::FutureIncompatReport` to the main thread.
|
||||
//!
|
||||
//! To have the correct layout of strucutures for deserializing a report
|
||||
//! To have the correct layout of structures for deserializing a report
|
||||
//! emitted by the compiler, most of structure definitions, for example
|
||||
//! [`FutureIncompatReport`], are copied either partially or entirely from
|
||||
//! [compiler/rustc_errors/src/json.rs][2] in rust-lang/rust repository.
|
||||
|
@ -197,7 +197,7 @@ macro_rules! metadata_envs {
|
||||
}
|
||||
}
|
||||
|
||||
// Metadata enviromental variables that are emitted to rustc. Usable by `env!()`
|
||||
// Metadata environmental variables that are emitted to rustc. Usable by `env!()`
|
||||
// If these change we need to trigger a rebuild.
|
||||
// NOTE: The env var name will be prefixed with `CARGO_PKG_`
|
||||
metadata_envs! {
|
||||
|
Loading…
x
Reference in New Issue
Block a user