Commit 91d0ef0e authored by Chao Yang's avatar Chao Yang Committed by Jordan DeLong

Fix example for folly::format

Summary: That's all.

Test Plan: .

Reviewed By: tjackson@fb.com

FB internal diff: D618824
parent c9ce99c0
...@@ -152,7 +152,7 @@ std::ostream& operator<<(std::ostream& out, ...@@ -152,7 +152,7 @@ std::ostream& operator<<(std::ostream& out,
/** /**
* Create a formatter object. * Create a formatter object.
* *
* std::string formatted = format("{} {}", 23, 42); * std::string formatted = format("{} {}", 23, 42).str();
* LOG(INFO) << format("{} {}", 23, 42); * LOG(INFO) << format("{} {}", 23, 42);
*/ */
template <class... Args> template <class... Args>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment