diff --git a/doc/Language/syntax.pod6 b/doc/Language/syntax.pod6 index d629246cd..fea8b247c 100644 --- a/doc/Language/syntax.pod6 +++ b/doc/Language/syntax.pod6 @@ -650,7 +650,7 @@ by an optional name, an optional signature and a code block. Subroutines are lexically scoped, so if a name is specified at the declaration time, the same name can be used in the lexical scope to invoke the subroutine. -A subroutine is an instance of type L and +A subroutine is an instance of type L and can be assigned to any container. =comment TODO @@ -667,7 +667,7 @@ can be assigned to any container. When declared within a class, a subroutine is named "method": methods are subroutines invoked against an object (i.e., a class instance). Within a method the special variable C contains the object instance -(see L). +(see L). =begin code :skip-test # Method invocation. Object (instance) is $person, method is set-name-age