Merge pull request #336 from shields/patch-2
Improve example AbslUnparseFlag().
This commit is contained in:
commit
5162fc83d2
1 changed files with 3 additions and 3 deletions
|
@ -106,10 +106,10 @@
|
|||
// // Returns a textual flag value corresponding to the OutputMode `mode`.
|
||||
// std::string AbslUnparseFlag(OutputMode mode) {
|
||||
// switch (mode) {
|
||||
// case kPlainText: return "plaintext";
|
||||
// case kHtml: return "html";
|
||||
// default: return SimpleItoa(mode);
|
||||
// case kPlainText: return "plaintext";
|
||||
// case kHtml: return "html";
|
||||
// }
|
||||
// return absl::StrCat(mode);
|
||||
// }
|
||||
//
|
||||
// Notice that neither `AbslParseFlag()` nor `AbslUnparseFlag()` are class
|
||||
|
|
Loading…
Reference in a new issue