@@ -169,14 +169,14 @@ pub trait ObjectLike: Sealed {
169169 where
170170 R : FromLuaMulti ;
171171
172- /// Gets the function associated to key `name` from the object and calls it,
172+ /// Gets the callable value associated to key `name` from the object and calls it,
173173 /// passing the object itself along with `args` as function arguments.
174174 fn call_method < R > ( & self , name : & str , args : impl IntoLuaMulti ) -> Result < R >
175175 where
176176 R : FromLuaMulti ;
177177
178- /// Gets the function associated to key `name` from the object and asynchronously calls it,
179- /// passing the object itself along with `args` as function arguments.
178+ /// Gets the callable value associated to key `name` from the object and asynchronously calls
179+ /// it, passing the object itself along with `args` as function arguments.
180180 ///
181181 /// This might invoke the `__index` metamethod.
182182 #[ cfg( feature = "async" ) ]
@@ -185,16 +185,16 @@ pub trait ObjectLike: Sealed {
185185 where
186186 R : FromLuaMulti ;
187187
188- /// Gets the function associated to key `name` from the object and calls it,
188+ /// Gets the callable value associated to key `name` from the object and calls it,
189189 /// passing `args` as function arguments.
190190 ///
191191 /// This might invoke the `__index` metamethod.
192192 fn call_function < R > ( & self , name : & str , args : impl IntoLuaMulti ) -> Result < R >
193193 where
194194 R : FromLuaMulti ;
195195
196- /// Gets the function associated to key `name` from the object and asynchronously calls it,
197- /// passing `args` as function arguments.
196+ /// Gets the callable value associated to key `name` from the object and asynchronously calls
197+ /// it, passing `args` as function arguments.
198198 ///
199199 /// This might invoke the `__index` metamethod.
200200 #[ cfg( feature = "async" ) ]
0 commit comments