mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
fixed D syntax`
This commit is contained in:
parent
52b8df5cdb
commit
8bdf48dc8c
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
language: d
|
language: D
|
||||||
filename: learnd.d
|
filename: learnd.d
|
||||||
contributors:
|
contributors:
|
||||||
- ["Nick Papanastasiou", "www.nickpapanastasiou.github.io"]
|
- ["Nick Papanastasiou", "www.nickpapanastasiou.github.io"]
|
||||||
@ -17,7 +17,7 @@ a pleasant syntax, and blazing fast performance!
|
|||||||
D is actively developed by Walter Bright and Andrei Alexandrescu, two super smart, really cool
|
D is actively developed by Walter Bright and Andrei Alexandrescu, two super smart, really cool
|
||||||
dudes. With all that out of the way, let's look at some examples!
|
dudes. With all that out of the way, let's look at some examples!
|
||||||
|
|
||||||
'''d
|
```d
|
||||||
// You know what's coming...
|
// You know what's coming...
|
||||||
import std.stdio;
|
import std.stdio;
|
||||||
|
|
||||||
@ -58,4 +58,4 @@ void main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
'''
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user