Skip to content

Commit da5cb77

Browse files
authored
Fix typo in Effective Dart (#6978)
1 parent 31edd5b commit da5cb77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/effective-dart/design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ intend, and they may break your code without realizing it.
660660
### DO use class modifiers to control if your class can be an interface
661661

662662
When designing a library, use class modifiers like `final`, `base`, or `sealed` to enforce intended
663-
usage. For example, use `final class C {}` or `base class D{}` to prevent
663+
usage. For example, use `final class C {}` or `base class D {}` to prevent
664664
implementation outside the current library.
665665
While it's ideal for all libraries to use these modifiers to enforce design intent,
666666
developers may still encounter cases where they aren't applied. In such cases, be mindful of

0 commit comments

Comments
 (0)