Fix rustdoc rendering warning

This commit is contained in:
Jonas Schievink 2018-01-26 18:35:21 +01:00
parent 2d89eb39da
commit 67f8e1d49c
1 changed files with 2 additions and 1 deletions

View File

@ -31,10 +31,11 @@ pub enum Error {
/// This is an error because `rlua` callbacks are FnMut and thus can only be mutably borrowed
/// once.
RecursiveCallbackError,
/// Lua code has accessed a [`UserData`] value that was already garbage collected
/// Lua code has accessed a [`UserData`] value that was already garbage collected.
///
/// This can happen when a [`UserData`] has a custom `__gc` metamethod, this method resurrects
/// the [`UserData`], and then the [`UserData`] is subsequently accessed.
///
/// [`UserData`]: trait.UserData.html
ExpiredUserData,
/// A Rust value could not be converted to a Lua value.