From f1a7de26f31a96fc7470f8f8646ed233271908d0 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Fri, 6 Dec 2024 10:43:15 +0000 Subject: [PATCH] Fix --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e6937a6ad8..706a738f10 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -99,7 +99,7 @@ Fabric API makes strong backwards compatibility guarantees, by which contributor - If vanilla exposes optionals in return types, then returning an optional is fine. - Avoid requiring the user to cast to a subtype if possible. - Adding methods to vanilla types can be done via interface injection. -- Avoid exposing java `records` as public API. +- Avoid exposing java `record`s as public API. - Records expose more than is necessary for most APIs, which makes them difficult to evolve. - Prefer to expose an interface that is implemented by an impl record.