Skip to content

Commit c722d40

Browse files
committed
Merge pull request #262 from jparkrr/patch-1
Typo: the sudden -> a sudden
2 parents e84c36a + c803ba9 commit c722d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/singleton.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ signature and distracts from the intent of the code.
241241

242242
The obvious fix is to make our `Log` class a singleton. Every function can then
243243
go straight to the class itself to get an instance. But when we do that, we
244-
inadvertently acquire a strange little restriction. All of the sudden, we can no
244+
inadvertently acquire a strange little restriction. All of a sudden, we can no
245245
longer create more than one logger.
246246

247247
At first, this isn't a problem. We're writing only a single log file, so we only

0 commit comments

Comments
 (0)