diff options
Diffstat (limited to 'src/string.rs')
-rw-r--r-- | src/string.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/string.rs b/src/string.rs index 3b805d5..add8bdc 100644 --- a/src/string.rs +++ b/src/string.rs @@ -11,13 +11,13 @@ use { }; use crate::error::{Error, Result}; -use crate::types::LuaRef; +use crate::types::ValueRef; /// Handle to an internal Lua string. /// /// Unlike Rust strings, Lua strings may not be valid UTF-8. #[derive(Clone)] -pub struct String<'lua>(pub(crate) LuaRef<'lua>); +pub struct String<'lua>(pub(crate) ValueRef<'lua>); /// Owned handle to an internal Lua string. /// @@ -29,7 +29,7 @@ pub struct String<'lua>(pub(crate) LuaRef<'lua>); #[cfg(feature = "unstable")] #[cfg_attr(docsrs, doc(cfg(feature = "unstable")))] #[derive(Clone)] -pub struct OwnedString(pub(crate) crate::types::LuaOwnedRef); +pub struct OwnedString(pub(crate) crate::types::OwnedValueRef); #[cfg(feature = "unstable")] impl OwnedString { |