diff options
author | David Tolnay <dtolnay@gmail.com> | 2021-12-31 13:30:05 -0800 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2021-12-31 13:36:34 -0800 |
commit | 47465d2bf16a95713a331a7a55364ab258350505 (patch) | |
tree | 52e772f0d58c50beceb2b8bfd7174b1abe46bb61 /include | |
parent | fa7380675e202f25aec0ca2d178eac2cc98118f8 (diff) | |
download | cxx-47465d2bf16a95713a331a7a55364ab258350505.tar.gz |
Touch up PR 984
Diffstat (limited to 'include')
-rw-r--r-- | include/cxx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cxx.h b/include/cxx.h index 56434711..907ee829 100644 --- a/include/cxx.h +++ b/include/cxx.h @@ -24,7 +24,6 @@ namespace rust { inline namespace cxxbridge1 { struct unsafe_bitcopy_t; -struct lossy_t; namespace { template <typename T> @@ -93,6 +92,7 @@ public: String(unsafe_bitcopy_t, const String &) noexcept; private: + struct lossy_t; String(lossy_t, const char *, std::size_t) noexcept; String(lossy_t, const char16_t *, std::size_t) noexcept; friend void swap(String &lhs, String &rhs) noexcept { lhs.swap(rhs); } |