formatting

This commit is contained in:
Johannes Loher 2018-04-14 01:55:09 +02:00
parent 0f621a573d
commit e1a4ec035e

View file

@ -13,7 +13,7 @@
* [Extension setup](#extension-setup) * [Extension setup](#extension-setup)
* [Basics](#basics) * [Basics](#basics)
* [Hello World](#hello-world) * [Hello World](#hello-world)
* [Imports and modules](#imports-and-modules) * [Imports and modules](#imports-and-modules)G
* [Selective imports](#selective-imports) * [Selective imports](#selective-imports)
* [Scoped imports](#scoped-imports) * [Scoped imports](#scoped-imports)
* [Imports match files and directories](#imports-match-files-and-directories) * [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: the hello world program:
```D ```D
void main() void main() {
{ import std.stdio: writeln;
import std.stdio: writeln; writeln("Hello World");
writeln("Hello World");
} }
/* writeln is not available outside of the main function */ /* writeln is not available outside of the main function */
``` ```