@@ -33,13 +33,13 @@ pub trait ObjectLike: Sealed {
33
33
where
34
34
R : FromLuaMulti ;
35
35
36
- /// Gets the function associated to ` key` from the object and calls it,
36
+ /// Gets the function associated to key `name ` from the object and calls it,
37
37
/// passing the object itself along with `args` as function arguments.
38
38
fn call_method < R > ( & self , name : & str , args : impl IntoLuaMulti ) -> Result < R >
39
39
where
40
40
R : FromLuaMulti ;
41
41
42
- /// Gets the function associated to ` key` from the object and asynchronously calls it,
42
+ /// Gets the function associated to key `name ` from the object and asynchronously calls it,
43
43
/// passing the object itself along with `args` as function arguments.
44
44
///
45
45
/// Requires `feature = "async"`
@@ -51,15 +51,15 @@ pub trait ObjectLike: Sealed {
51
51
where
52
52
R : FromLuaMulti ;
53
53
54
- /// Gets the function associated to ` key` from the object and calls it,
54
+ /// Gets the function associated to key `name ` from the object and calls it,
55
55
/// passing `args` as function arguments.
56
56
///
57
57
/// This might invoke the `__index` metamethod.
58
58
fn call_function < R > ( & self , name : & str , args : impl IntoLuaMulti ) -> Result < R >
59
59
where
60
60
R : FromLuaMulti ;
61
61
62
- /// Gets the function associated to ` key` from the object and asynchronously calls it,
62
+ /// Gets the function associated to key `name ` from the object and asynchronously calls it,
63
63
/// passing `args` as function arguments.
64
64
///
65
65
/// Requires `feature = "async"`
0 commit comments