Change out the remove example from the throwing exception discussion
Why
remove is not actually throwing exceptions now.
How
Either use like pop or the removeFirst. Using removeFirst may be a good one because it gives a chance to talk about why the more general remove does not throw an exception (as discussed in #938)
Additional Notes
When working on #497 I noticed this. Tried to fix it quickly, but noticed it should be its own PR.
Related Issues or PRs
Caused by #899 related stuff
What
Change out the
remove
example from the throwing exception discussionWhy
remove
is not actually throwing exceptions now.How
Either use like
pop
or theremoveFirst
. UsingremoveFirst
may be a good one because it gives a chance to talk about why the more general remove does not throw an exception (as discussed in #938)Additional Notes
When working on #497 I noticed this. Tried to fix it quickly, but noticed it should be its own PR.