diff --git a/src/error.rs b/src/error.rs index a26f722..28f95eb 100644 --- a/src/error.rs +++ b/src/error.rs @@ -28,8 +28,8 @@ pub enum Error { GarbageCollectorError(String), /// A callback has triggered Lua code that has called the same callback again. /// - /// This is an error because `rlua` callbacks are FnMut and the thus can only be mutably - /// borrowed once. + /// 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 ///