Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

process.rs: remove "Basic usage" text where not useful #129916

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions library/std/src/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,6 @@ impl Command {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::Command;
///
Expand Down Expand Up @@ -699,8 +697,6 @@ impl Command {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::Command;
///
Expand Down Expand Up @@ -748,8 +744,6 @@ impl Command {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::Command;
///
Expand Down Expand Up @@ -786,8 +780,6 @@ impl Command {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::Command;
///
Expand Down Expand Up @@ -822,8 +814,6 @@ impl Command {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::{Command, Stdio};
/// use std::env;
Expand Down Expand Up @@ -870,8 +860,6 @@ impl Command {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::Command;
///
Expand Down Expand Up @@ -900,8 +888,6 @@ impl Command {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::Command;
///
Expand All @@ -928,8 +914,6 @@ impl Command {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::Command;
///
Expand Down Expand Up @@ -959,8 +943,6 @@ impl Command {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::{Command, Stdio};
///
Expand Down Expand Up @@ -988,8 +970,6 @@ impl Command {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::{Command, Stdio};
///
Expand Down Expand Up @@ -1017,8 +997,6 @@ impl Command {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::{Command, Stdio};
///
Expand All @@ -1039,8 +1017,6 @@ impl Command {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::Command;
///
Expand Down Expand Up @@ -2105,8 +2081,6 @@ impl Child {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::Command;
///
Expand All @@ -2129,8 +2103,6 @@ impl Child {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::Command;
///
Expand Down Expand Up @@ -2158,8 +2130,6 @@ impl Child {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::Command;
///
Expand Down Expand Up @@ -2194,8 +2164,6 @@ impl Child {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process::Command;
///
Expand Down Expand Up @@ -2398,15 +2366,11 @@ pub fn abort() -> ! {
///
/// # Examples
///
/// Basic usage:
///
/// ```no_run
/// use std::process;
///
/// println!("My pid is {}", process::id());
/// ```
///
///
#[must_use]
#[stable(feature = "getpid", since = "1.26.0")]
pub fn id() -> u32 {
Expand Down
Loading