summaryrefslogtreecommitdiffhomepage
path: root/d.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'd.html.markdown')
-rw-r--r--d.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/d.html.markdown b/d.html.markdown
index be9f8fb0..f3836c2c 100644
--- a/d.html.markdown
+++ b/d.html.markdown
@@ -63,7 +63,7 @@ We can define new types and functions with `struct`, `class`, `union`, and `enum
are passed to functions by value (i.e. copied) and classes are passed by reference. Futhermore,
we can use templates to parameterize all of these on both types and values!
-```
+```d
// Here, T is a type parameter. Think <T> from C++/C#/Java
struct(T) LinkedList {
T data = null;