aboutsummaryrefslogtreecommitdiff
path: root/book/src/binding/string.md
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2024-03-19 17:53:21 +0000
committerMatthew Maurer <mmaurer@google.com>2024-03-19 18:22:13 +0000
commit15cbbff88df7a8191d88c7aebefc7b508bd4de69 (patch)
treea559c2c5f783d4cbd605578eee27269d1e3c533b /book/src/binding/string.md
parent6bdb9aa5e8afca684f73b8b30a162f3064e183a6 (diff)
parent07a056908617acbdad914acda674b6da88ed1add (diff)
downloadcxx-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.md16
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: