diff --git a/docs/source/exceptions.rst b/docs/source/exceptions.rst index ee36a962..4b8fba7b 100644 --- a/docs/source/exceptions.rst +++ b/docs/source/exceptions.rst @@ -31,7 +31,7 @@ To make this not be the case, you can set a panic function directly with ``lua_a // lua_atpanic( L, sol::c_call, &my_panic> ); // or, with state/state_view: // sol::state_view lua(L); - // lua.set_panic( sol::c_call, &my_panic_call> ); + // lua.set_panic( sol::c_call, &my_panic> ); }