diff options
author | Matthew Maurer <mmaurer@google.com> | 2024-03-19 17:53:21 +0000 |
---|---|---|
committer | Matthew Maurer <mmaurer@google.com> | 2024-03-19 18:22:13 +0000 |
commit | 15cbbff88df7a8191d88c7aebefc7b508bd4de69 (patch) | |
tree | a559c2c5f783d4cbd605578eee27269d1e3c533b /book/src/binding/string.md | |
parent | 6bdb9aa5e8afca684f73b8b30a162f3064e183a6 (diff) | |
parent | 07a056908617acbdad914acda674b6da88ed1add (diff) | |
download | cxx-15cbbff88df7a8191d88c7aebefc7b508bd4de69.tar.gz |
Update cxx to latest master
* Update build to match upstream's use of edition 2021
Test: mmm
Change-Id: Iad58f8bb416050de4fb3f3087c051d680a2180e7
Diffstat (limited to 'book/src/binding/string.md')
-rw-r--r-- | book/src/binding/string.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/book/src/binding/string.md b/book/src/binding/string.md index 1e482781..57dd245b 100644 --- a/book/src/binding/string.md +++ b/book/src/binding/string.md @@ -3,13 +3,13 @@ ### Public API: -```cpp,hidelines +```cpp,hidelines=... // rust/cxx.h -# -# #include <iosfwd> -# #include <string> -# -# namespace rust { +... +...#include <iosfwd> +...#include <string> +... +...namespace rust { class String final { public: @@ -73,8 +73,8 @@ public: }; std::ostream &operator<<(std::ostream &, const String &); -# -# } // namespace rust +... +...} // namespace rust ``` ### Restrictions: |