diff --git a/README.md b/README.md index 217429d..41bddbd 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,7 @@ fn main() -> mlua::Result<()> { .register::("Color")? .register::("Example") .document("Example module") - .value::("example") + .proxy::("example") .function::("printColor", ()) .document("Greet the name that was passed in") .param("name", "Name of the person to greet") @@ -405,7 +405,7 @@ local _CLASS_Counter_ = { --- Increment the counter --- @param self Counter increment = function(self) end, - --- + --- Transform the value to `up` --- @param value any Macro defined param doc comment transform = function(self, value) end, __metatable = { diff --git a/mlua_extras_derive/Cargo.lock b/mlua_extras_derive/Cargo.lock index 6c15e5a..ee87838 100644 --- a/mlua_extras_derive/Cargo.lock +++ b/mlua_extras_derive/Cargo.lock @@ -137,7 +137,7 @@ checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" [[package]] name = "mlua-extras-derive" -version = "11.6.0" +version = "12.0.0" dependencies = [ "darling", "deluxe", diff --git a/mlua_extras_derive/src/userdata/mod.rs b/mlua_extras_derive/src/userdata/mod.rs index ffdbabf..61ad7e4 100644 --- a/mlua_extras_derive/src/userdata/mod.rs +++ b/mlua_extras_derive/src/userdata/mod.rs @@ -27,7 +27,7 @@ //! The above notice applies to this file's code as a large portion is copied from, or closely replicates `mlua` to provide //! a similar experience while giving additional type information to `mlua_extras` typing system. //! -//! https://github.com/mlua-rs/mlua/blob/main/mlua_derive/src/userdata/mod.rshttps://github.com/mlua-rs +//! https://github.com/mlua-rs/mlua/blob/main/mlua_derive/src/userdata/mod.rs use proc_macro2::TokenStream; use syn::{Attribute, Data, DeriveInput, Error, Fields, FieldsNamed, Meta};