From e519a03a1f0fc36849a5b80192ae2815902ba82b Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Fri, 6 Jan 2017 12:41:21 -0800 Subject: Small improvements to generated documentation --- doc/cpp/perf_notes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/cpp') diff --git a/doc/cpp/perf_notes.md b/doc/cpp/perf_notes.md index 805ead3638..c87557558d 100644 --- a/doc/cpp/perf_notes.md +++ b/doc/cpp/perf_notes.md @@ -10,9 +10,9 @@ If message k+1 in a stream does not rely on responses from message k, it's possible to enable write batching by passing a WriteOptions argument to Write with the buffer_hint set: -```c++ +~~~{.cpp} stream_writer->Write(message, WriteOptions().set_buffer_hint()); -``` +~~~ The write will be buffered until one of the following is true: - the per-stream buffer is filled (controllable with the channel argument -- cgit v1.2.3