You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_ =[Node(
documentation:""" A single argument that can be added to a lifetime specifier like `borrow`, `mutate`, `consume` or `copy`. ### Example `data` in `func foo(data: Array<Item>) -> borrow(data) ComplexReferenceType`""",
children:[Child(
documentation:""" The parameter on which the lifetime of this type depends. This can be an identifier referring to an external parameter name, an integer literal to refer to an unnamed parameter or `self` if the type's lifetime depends on the object the method is called on."""),])]
produces
_ =[Node(
documentation:""" A single argument that can be added to a lifetime specifier like `borrow`, `mutate`, `consume` or `copy`. ### Example `data` in `func foo(data: Array<Item>) -> borrow(data) ComplexReferenceType`""",
children:[Child(
documentation:""" The parameter on which the lifetime of this type depends. This can be an identifier referring to an external parameter name, an integer literal to refer to an unnamed parameter or `self` if the type's lifetime depends on the object the method is called on.""")])]
Which is invalid because This can be has insufficient indentation. Instead, the previous line has a single space when it shouldn’t have any.
The text was updated successfully, but these errors were encountered:
Formatting this code
produces
Which is invalid because
This can be
has insufficient indentation. Instead, the previous line has a single space when it shouldn’t have any.The text was updated successfully, but these errors were encountered: