comment terminology... fix?

This commit is contained in:
kyren 2018-09-04 19:09:09 -04:00
parent 703601e348
commit add547b356

View file

@ -829,7 +829,8 @@ impl Lua {
//
// Box<for<'lua> Fn(&'lua Lua, MultiValue<'lua>) -> Result<MultiValue<'lua>>)>
//
// So we instead use an outer lifetime, which without the 'static requirement would be unsafe.
// So we instead use a caller provided lifetime, which without the 'static requirement would be
// unsafe.
pub(crate) fn create_callback<'lua, 'callback>(
&'lua self,
func: Callback<'callback, 'static>,