aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2021-12-31 13:30:05 -0800
committerDavid Tolnay <dtolnay@gmail.com>2021-12-31 13:36:34 -0800
commit47465d2bf16a95713a331a7a55364ab258350505 (patch)
tree52e772f0d58c50beceb2b8bfd7174b1abe46bb61 /include
parentfa7380675e202f25aec0ca2d178eac2cc98118f8 (diff)
downloadcxx-47465d2bf16a95713a331a7a55364ab258350505.tar.gz
Touch up PR 984
Diffstat (limited to 'include')
-rw-r--r--include/cxx.h2
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); }