Hide full iterator API from rendered documentation
diff --git a/book/src/binding/slice.md b/book/src/binding/slice.md
index 4153170..4f9d74a 100644
--- a/book/src/binding/slice.md
+++ b/book/src/binding/slice.md
@@ -31,21 +31,21 @@
iterator begin() const noexcept;
iterator end() const noexcept;
};
-
-template <typename T>
-class Slice<T>::iterator final {
-public:
- using value_type = T;
- using pointer = T *;
- using reference = T &;
-
- T &operator*() const noexcept;
- T *operator->() const noexcept;
- iterator &operator++() noexcept;
- iterator operator++(int) noexcept;
- bool operator==(const iterator &) const noexcept;
- bool operator!=(const iterator &) const noexcept;
-};
+#
+# template <typename T>
+# class Slice<T>::iterator final {
+# public:
+# using value_type = T;
+# using pointer = T *;
+# using reference = T &;
+#
+# T &operator*() const noexcept;
+# T *operator->() const noexcept;
+# iterator &operator++() noexcept;
+# iterator operator++(int) noexcept;
+# bool operator==(const iterator &) const noexcept;
+# bool operator!=(const iterator &) const noexcept;
+# };
#
# } // namespace rust
```
diff --git a/book/src/binding/vec.md b/book/src/binding/vec.md
index e1767e5..5820001 100644
--- a/book/src/binding/vec.md
+++ b/book/src/binding/vec.md
@@ -49,36 +49,36 @@
const_iterator cbegin() const noexcept;
const_iterator cend() const noexcept;
};
-
-template <typename T>
-class Vec<T>::iterator final {
-public:
- using value_type = T;
- using pointer = T *;
- using reference = T &;
-
- T &operator*() const noexcept;
- T *operator->() const noexcept;
- iterator &operator++() noexcept;
- iterator operator++(int) noexcept;
- bool operator==(const iterator &) const noexcept;
- bool operator!=(const iterator &) const noexcept;
-};
-
-template <typename T>
-class Vec<T>::const_iterator final {
-public:
- using value_type = const T;
- using pointer = const T *;
- using reference = const T &;
-
- const T &operator*() const noexcept;
- const T *operator->() const noexcept;
- const_iterator &operator++() noexcept;
- const_iterator operator++(int) noexcept;
- bool operator==(const const_iterator &) const noexcept;
- bool operator!=(const const_iterator &) const noexcept;
-};
+#
+# template <typename T>
+# class Vec<T>::iterator final {
+# public:
+# using value_type = T;
+# using pointer = T *;
+# using reference = T &;
+#
+# T &operator*() const noexcept;
+# T *operator->() const noexcept;
+# iterator &operator++() noexcept;
+# iterator operator++(int) noexcept;
+# bool operator==(const iterator &) const noexcept;
+# bool operator!=(const iterator &) const noexcept;
+# };
+#
+# template <typename T>
+# class Vec<T>::const_iterator final {
+# public:
+# using value_type = const T;
+# using pointer = const T *;
+# using reference = const T &;
+#
+# const T &operator*() const noexcept;
+# const T *operator->() const noexcept;
+# const_iterator &operator++() noexcept;
+# const_iterator operator++(int) noexcept;
+# bool operator==(const const_iterator &) const noexcept;
+# bool operator!=(const const_iterator &) const noexcept;
+# };
#
# } // namespace rust
```