Skip to content

Commit 389e6d4

Browse files
committed
2 parents 5192bb0 + c722d40 commit 389e6d4

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)