aboutsummaryrefslogtreecommitdiff
path: root/book/src/binding/box.md
diff options
context:
space:
mode:
Diffstat (limited to 'book/src/binding/box.md')
-rw-r--r--book/src/binding/box.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/book/src/binding/box.md b/book/src/binding/box.md
index 7df19597..dc478999 100644
--- a/book/src/binding/box.md
+++ b/book/src/binding/box.md
@@ -3,12 +3,12 @@
### Public API:
-```cpp,hidelines
+```cpp,hidelines=...
// rust/cxx.h
-#
-# #include <type_traits>
-#
-# namespace rust {
+...
+...#include <type_traits>
+...
+...namespace rust {
template <typename T>
class Box final {
@@ -42,8 +42,8 @@ public:
T *into_raw() noexcept;
};
-#
-# } // namespace rust
+...
+...} // namespace rust
```
### Restrictions: