diff --git a/src/content/language/records.md b/src/content/language/records.md index 84905ab84e..5e2bbfa591 100644 --- a/src/content/language/records.md +++ b/src/content/language/records.md @@ -128,7 +128,7 @@ Records are structurally typed based on the types of their fields. A record's shape (the set of its fields, the fields' types, and their names, if any) uniquely determines the type of a record. While you cannot declare a unique type for a specific record shape, -you can use `typedef` to give a name to a record type for better readability and reusability.. +you can use `typedef` to give a name to a record type for better readability and reusability. For example, you can define a named record type for a user profile: @@ -352,4 +352,4 @@ Only a class can provide full abstraction and encapsulation. [destructure]: /language/patterns#destructuring [Pattern types]: /language/pattern-types#record [typedefs]: /language/typedefs -[extension type]: /language/extension-types \ No newline at end of file +[extension type]: /language/extension-types