shared
指定子とかのPitchきたGrammatical Changes The Swift language will be amended to support the addition of the borrow and consume type annotations. GRAMMAR OF A TYPE ANNOTATION type-annotation → : attributes(opt) inout(opt) type +type-annotation → : attributes(opt) borrow(opt) type +type-annotation → : attributes(opt) consume(opt) type In addition, the grammar of function declarations will be amended to support the consuming attribute. -mutation-modifier → mutating | nonmutating +self-ownership-convention → mutating | nonmutating | consuming