From e1a4ec035edd6257512d2bd1b51d7638296a1503 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Sat, 14 Apr 2018 01:55:09 +0200 Subject: [PATCH] formatting --- hands-on_dlang.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/hands-on_dlang.md b/hands-on_dlang.md index 075fd7a..a4ca368 100644 --- a/hands-on_dlang.md +++ b/hands-on_dlang.md @@ -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 */ ```