X-Git-Url: http://nitlanguage.org diff --git a/src/doc/templates/term_model.nit b/src/doc/templates/term_model.nit index 4a442c5..b33ce7f 100644 --- a/src/doc/templates/term_model.nit +++ b/src/doc/templates/term_model.nit @@ -35,7 +35,7 @@ redef class MDoc return res.write_to_string end - # Returns the synopsys formatted for the console + # Returns the synopsis formatted for the console fun cs_short_comment(no_color: nullable Bool): String do if no_color == null or not no_color then return content.first.green @@ -199,9 +199,6 @@ end redef class MMethodDef redef fun cs_signature(no_color) do - if mproperty.is_root_init then - return new_msignature.as(not null).cs_signature(no_color) - end return msignature.as(not null).cs_signature(no_color) end end