Bug 961883 (part 0) - Some tiny HashTable comment tweaks. r=luke.

--HG--
extra : rebase_source : 749b61ec992335aa5e2be63340e88b04ff236967
This commit is contained in:
Nicholas Nethercote 2014-01-20 19:52:52 -08:00
parent 02f536a1b9
commit 0ec65cabbf

View File

@ -159,7 +159,7 @@ class HashMap
// typedef HashMap<int,char> HM;
// HM h;
// for (HM::Range r = h.all(); !r.empty(); r.popFront())
// char c = r.front().value;
// char c = r.front().value();
//
// Also see the definition of Range in HashTable above (with T = Entry).
typedef typename Impl::Range Range;
@ -171,7 +171,7 @@ class HashMap
// typedef HashMap<int,char> HM;
// HM s;
// for (HM::Enum e(s); !e.empty(); e.popFront())
// if (e.front().value == 'l')
// if (e.front().value() == 'l')
// e.removeFront();
//
// Table resize may occur in Enum's destructor. Also see the definition of