Skip to content

Commit 53db837

Browse files
committed
Unwrap windows_subsystem
1 parent 9571d4d commit 53db837

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/runtime.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,19 @@ r[runtime.windows_subsystem]
1313
## The `windows_subsystem` attribute
1414

1515
r[runtime.windows_subsystem.intro]
16-
The *`windows_subsystem` attribute* may be applied at the crate level to set
17-
the [subsystem] when linking on a Windows target.
16+
The *`windows_subsystem` attribute* may be applied at the crate level to set the [subsystem] when linking on a Windows target.
1817

1918
r[runtime.windows_subsystem.syntax]
20-
It uses the [MetaNameValueStr] syntax to specify the subsystem with a value of either
21-
`console` or `windows`.
19+
It uses the [MetaNameValueStr] syntax to specify the subsystem with a value of either `console` or `windows`.
2220

2321
r[runtime.windows_subsystem.ignored]
2422
This attribute is ignored on non-Windows targets, and for non-`bin` [crate types].
2523

2624
r[runtime.windows_subsystem.console]
27-
The "console" subsystem is the default. If a console process is run from an
28-
existing console then it will be attached to that console, otherwise a new
29-
console window will be created.
25+
The "console" subsystem is the default. If a console process is run from an existing console then it will be attached to that console, otherwise a new console window will be created.
3026

3127
r[runtime.windows_subsystem.windows]
32-
The "windows" subsystem is commonly used by GUI applications that do not want to
33-
display a console window on startup. It will run detached from any existing console.
28+
The "windows" subsystem is commonly used by GUI applications that do not want to display a console window on startup. It will run detached from any existing console.
3429

3530
```rust
3631
#![windows_subsystem = "windows"]

0 commit comments

Comments
 (0)