Skip to content
Snippets Groups Projects
Unverified Commit 5162fc83 authored by Shaindel Schwartz's avatar Shaindel Schwartz Committed by GitHub
Browse files

Merge pull request #336 from shields/patch-2

Improve example AbslUnparseFlag().
parents 0389f7bf ec0742d3
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment