Skip to content

Commit

Permalink
Fix a typo in docs: "solve some problem(s)" (#36219)
Browse files Browse the repository at this point in the history
  • Loading branch information
singularitti authored Jun 10, 2020
1 parent a018dc0 commit 023c59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/manual/style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ Decide whether the concept in question will be written as `MyType` or `MyType()`
it.

The preferred style is to use instances by default, and only add methods involving `Type{MyType}`
later if they become necessary to solve some problem.
later if they become necessary to solve some problems.

If a type is effectively an enumeration, it should be defined as a single (ideally immutable struct or primitive)
type, with the enumeration values being instances of it. Constructors and conversions can check
Expand Down

0 comments on commit 023c59a

Please sign in to comment.