Skip to content

Commit 5b5f1e4

Browse files
committed
Remove undocumented Lua::push in favour of Lua::with_raw_state
1 parent e582e7c commit 5b5f1e4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/state.rs

-9
Original file line numberDiff line numberDiff line change
@@ -1856,15 +1856,6 @@ impl Lua {
18561856
extra.app_data.remove()
18571857
}
18581858

1859-
/// Pushes a value that implements `IntoLua` onto the Lua stack.
1860-
///
1861-
/// Uses 2 stack spaces, does not call checkstack.
1862-
#[doc(hidden)]
1863-
#[inline(always)]
1864-
pub unsafe fn push(&self, value: impl IntoLua) -> Result<()> {
1865-
self.lock().push(value)
1866-
}
1867-
18681859
/// Returns an internal `Poll::Pending` constant used for executing async callbacks.
18691860
#[cfg(feature = "async")]
18701861
#[doc(hidden)]

0 commit comments

Comments
 (0)