From b5ff98917373a64b30ef3cfb25916b86cf591b6a Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Thu, 4 Dec 2014 15:19:13 -0500 Subject: [PATCH] lib/standard: removes double dash now parsed as H2 Signed-off-by: Alexandre Terrasa --- lib/standard/collection/list.nit | 2 +- lib/standard/kernel.nit | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/standard/collection/list.nit b/lib/standard/collection/list.nit index ae1b675..66ef4af 100644 --- a/lib/standard/collection/list.nit +++ b/lib/standard/collection/list.nit @@ -139,7 +139,7 @@ class List[E] end # Append `l` to `self` but clear `l`. - ## + # # O(1) fun link(l: List[E]) do diff --git a/lib/standard/kernel.nit b/lib/standard/kernel.nit index a7d31d4..26498fe 100644 --- a/lib/standard/kernel.nit +++ b/lib/standard/kernel.nit @@ -66,13 +66,13 @@ interface Object fun is_same_instance(other: nullable Object): Bool is intern # Have `self` and `other` the same value? - ## + # # The exact meaning of "same value" is let to the subclasses. # Implicitly, the default implementation, is `is_same_instance` fun ==(other: nullable Object): Bool do return self.is_same_instance(other) # Have `self` and `other` different values? - ## + # # != is equivalent with "not ==". fun !=(other: nullable Object): Bool do return not (self == other) @@ -93,7 +93,7 @@ interface Object # The hash code of the object. # Assuming that a == b -> a.hash == b.hash - ## + # # Without redefinition, it is based on the `object_id` of the instance. fun hash: Int do return object_id / 8 end -- 1.7.9.5