formatting
This commit is contained in:
parent
0f621a573d
commit
e1a4ec035e
1 changed files with 4 additions and 5 deletions
|
@ -13,7 +13,7 @@
|
|||
* [Extension setup](#extension-setup)
|
||||
* [Basics](#basics)
|
||||
* [Hello World](#hello-world)
|
||||
* [Imports and modules](#imports-and-modules)
|
||||
* [Imports and modules](#imports-and-modules)G
|
||||
* [Selective imports](#selective-imports)
|
||||
* [Scoped imports](#scoped-imports)
|
||||
* [Imports match files and directories](#imports-match-files-and-directories)
|
||||
|
@ -181,10 +181,9 @@ symbols are only available inside that scope. Here is an alternative version of
|
|||
the hello world program:
|
||||
|
||||
```D
|
||||
void main()
|
||||
{
|
||||
import std.stdio: writeln;
|
||||
writeln("Hello World");
|
||||
void main() {
|
||||
import std.stdio: writeln;
|
||||
writeln("Hello World");
|
||||
}
|
||||
/* writeln is not available outside of the main function */
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue