summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/error.rs2
-rw-r--r--src/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs
index 8530ff6..b447a81 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -82,7 +82,7 @@ pub enum Error {
/// details.
///
/// [`AnyUserData`]: struct.AnyUserData.html
- /// [`UserDataMethods`]: struct.UserDataMethods.html
+ /// [`UserDataMethods`]: trait.UserDataMethods.html
UserDataTypeMismatch,
/// An [`AnyUserData`] immutable borrow failed because it is already borrowed mutably.
///
diff --git a/src/lib.rs b/src/lib.rs
index 21e8749..dbf4608 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -34,7 +34,7 @@
//! [`ToLuaMulti`]: trait.ToLuaMulti.html
//! [`FromLuaMulti`]: trait.FromLuaMulti.html
//! [`UserData`]: trait.UserData.html
-//! [`UserDataMethods`]: struct.UserDataMethods.html
+//! [`UserDataMethods`]: trait.UserDataMethods.html
// Deny warnings inside doc tests / examples. When this isn't present, rustdoc doesn't show *any*
// warnings at all.