about summary refs log tree commit diff
path: root/library/std/src/process.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-22 16:47:17 +0000
committerbors <bors@rust-lang.org>2022-05-22 16:47:17 +0000
commit0a437b2ca081bc12425a3318cb66aade9824cbae (patch)
treee5bb27cf96f011cdd4f12b3fbc5471bb1241875d /library/std/src/process.rs
parent4bb4dc4672b4d80509db4c0572ae8ceeaf7d4a1c (diff)
parentb392cdf7de4cd8413f24ce77bf04dd646a60d79d (diff)
downloadrust-0a437b2ca081bc12425a3318cb66aade9824cbae.tar.gz
rust-0a437b2ca081bc12425a3318cb66aade9824cbae.zip
Auto merge of #97283 - jackh726:rollup-ga84p7n, r=jackh726
Rollup of 5 pull requests

Successful merges:

 - #97043 (Move some tests to more reasonable directories)
 - #97206 (Do leak check after function pointer coercion)
 - #97275 (small change)
 - #97277 (Avoid accidentally enabling unstable features in compilers (take 2))
 - #97280 (Quote replace target in bootstrap configure)

Failed merges:

 - #97214 (Finish bumping stage0)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'library/std/src/process.rs')
-rw-r--r--library/std/src/process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/process.rs b/library/std/src/process.rs
index 28e802d07e1..1def9fe0972 100644
--- a/library/std/src/process.rs
+++ b/library/std/src/process.rs
@@ -2108,7 +2108,7 @@ pub fn id() -> u32 {
 
 /// A trait for implementing arbitrary return types in the `main` function.
 ///
-/// The C-main function only supports to return integers as return type.
+/// The C-main function only supports returning integers.
 /// So, every type implementing the `Termination` trait has to be converted
 /// to an integer.
 ///