Reduce visibility of Wrapped* structs

This commit is contained in:
Alex Orlenko
2024-11-22 13:08:47 +00:00
parent bf9fcc5aca
commit d8307d0e4c
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ impl<'a> IntoIterator for BorrowedBytes<'a> {
}
}
pub(crate) struct WrappedString<T: AsRef<[u8]>>(T);
struct WrappedString<T: AsRef<[u8]>>(T);
impl String {
/// Wraps bytes, returning an opaque type that implements [`IntoLua`] trait.