Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ fn main() -> mlua::Result<()> {
.register::<Color>("Color")?
.register::<Example>("Example")
.document("Example module")
.value::<Example>("example")
.proxy::<Example>("example")
.function::<Color, ()>("printColor", ())
.document("Greet the name that was passed in")
.param("name", "Name of the person to greet")
Expand Down Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion mlua_extras_derive/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mlua_extras_derive/src/userdata/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down