Skip to content

Commit

Permalink
Fix typo in Singleton. #1
Browse files Browse the repository at this point in the history
  • Loading branch information
munificent committed Aug 8, 2013
1 parent a698c93 commit 6f08287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/singleton.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ nice features too:

* **It doesn't create the instance if no one uses it.** Saving
memory and CPU cycles is always good. Since the Singleton is
initialized only when it's first accessed, if it won't be
initialized only when it's first accessed, it won't be
instantiated at all if the game never asks for it.

* **It's initialized at runtime.** A common alternative to Singleton
Expand Down
2 changes: 1 addition & 1 deletion html/singleton.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ <h2><a href="#why-we-use-it" name="why-we-use-it">Why We Use It</a></h2>
<li>
<p><strong>It doesn&#x2019;t create the instance if no one uses it.</strong> Saving
memory and CPU cycles is always good. Since the Singleton is
initialized only when it&#x2019;s first accessed, if it won&#x2019;t be
initialized only when it&#x2019;s first accessed, it won&#x2019;t be
instantiated at all if the game never asks for it.</p>
</li>
<li>
Expand Down

0 comments on commit 6f08287

Please sign in to comment.