You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by ji...@apache.org on 2020/03/03 10:41:03 UTC

[incubator-brpc] branch master updated: Add missing '`'

This is an automated email from the ASF dual-hosted git repository.

jiashunzhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new c9290f3  Add missing '`'
     new 23c66e3  Merge pull request #1053 from lingbin/fix_bvar_cpp_doc
c9290f3 is described below

commit c9290f378e52008738db9c289da870824ac04738
Author: lingbin <li...@gmail.com>
AuthorDate: Fri Feb 28 23:18:54 2020 +0800

    Add missing '`'
    
    It seems that "<>" will be recognized as an html tag and
    cannot be displayed on web page.
---
 docs/cn/bvar_c++.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/cn/bvar_c++.md b/docs/cn/bvar_c++.md
index bc47d43..f7413ff 100644
--- a/docs/cn/bvar_c++.md
+++ b/docs/cn/bvar_c++.md
@@ -168,7 +168,7 @@ bvar::Status<std::string> status1("count2", "hello");  // the name conflicts. if
                                                        // program aborts, otherwise a fatal log is printed.
 ```
 
-为避免重名,bvar的名字应加上前缀,建议为<namespace>_<module>_<name>。为了方便使用,我们提供了**expose_as**函数,接收一个前缀。
+为避免重名,bvar的名字应加上前缀,建议为`<namespace>_<module>_<name>`。为了方便使用,我们提供了**expose_as**函数,接收一个前缀。
 ```c++
 // Expose this variable with a prefix.
 // Example:


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org