From 4b3bf5fcccc6998c62f41e7573684f666f2df85b Mon Sep 17 00:00:00 2001 From: Kiith-Sa Date: Thu, 27 Dec 2012 20:11:26 +0100 Subject: [PATCH] Minor formatting fixes. --- dyaml/constructor.d | 2 +- dyaml/node.d | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dyaml/constructor.d b/dyaml/constructor.d index 039c8d5..f087b59 100644 --- a/dyaml/constructor.d +++ b/dyaml/constructor.d @@ -867,7 +867,7 @@ struct MyStruct if(y != s.y){return y - s.y;} if(z != s.z){return z - s.z;} return 0; - } + } } MyStruct constructMyStructScalar(ref Node node) diff --git a/dyaml/node.d b/dyaml/node.d index 7f07abd..8200219 100644 --- a/dyaml/node.d +++ b/dyaml/node.d @@ -1574,7 +1574,7 @@ struct Node //Does given node have the same type as this node? bool hasEqualType(const ref Node node) const @safe - { + { return value_.type is node.value_.type; }