@@ -49,36 +49,36 @@ public:
4949 const_iterator cbegin() const noexcept;
5050 const_iterator cend() const noexcept;
5151};
52-
53- template <typename T>
54- class Vec<T>::iterator final {
55- public:
56- using value_type = T;
57- using pointer = T *;
58- using reference = T &;
59-
60- T &operator*() const noexcept;
61- T *operator->() const noexcept;
62- iterator &operator++() noexcept;
63- iterator operator++(int) noexcept;
64- bool operator==(const iterator &) const noexcept;
65- bool operator!=(const iterator &) const noexcept;
66- };
67-
68- template <typename T>
69- class Vec<T>::const_iterator final {
70- public:
71- using value_type = const T;
72- using pointer = const T *;
73- using reference = const T &;
74-
75- const T &operator*() const noexcept;
76- const T *operator->() const noexcept;
77- const_iterator &operator++() noexcept;
78- const_iterator operator++(int) noexcept;
79- bool operator==(const const_iterator &) const noexcept;
80- bool operator!=(const const_iterator &) const noexcept;
81- };
52+ #
53+ # template <typename T>
54+ # class Vec<T>::iterator final {
55+ # public:
56+ # using value_type = T;
57+ # using pointer = T *;
58+ # using reference = T &;
59+ #
60+ # T &operator*() const noexcept;
61+ # T *operator->() const noexcept;
62+ # iterator &operator++() noexcept;
63+ # iterator operator++(int) noexcept;
64+ # bool operator==(const iterator &) const noexcept;
65+ # bool operator!=(const iterator &) const noexcept;
66+ # };
67+ #
68+ # template <typename T>
69+ # class Vec<T>::const_iterator final {
70+ # public:
71+ # using value_type = const T;
72+ # using pointer = const T *;
73+ # using reference = const T &;
74+ #
75+ # const T &operator*() const noexcept;
76+ # const T *operator->() const noexcept;
77+ # const_iterator &operator++() noexcept;
78+ # const_iterator operator++(int) noexcept;
79+ # bool operator==(const const_iterator &) const noexcept;
80+ # bool operator!=(const const_iterator &) const noexcept;
81+ # };
8282#
8383# } // namespace rust
8484```
0 commit comments