Skip to content

Commit f6a3462

Browse files
author
sarah
committed
undo changes to function.rs
1 parent cb7f7ee commit f6a3462

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

library/core/src/ops/function.rs

-5
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ mod impls {
254254
where
255255
F: Fn<A>,
256256
{
257-
#[inline]
258257
extern "rust-call" fn call(&self, args: A) -> F::Output {
259258
(**self).call(args)
260259
}
@@ -265,7 +264,6 @@ mod impls {
265264
where
266265
F: Fn<A>,
267266
{
268-
#[inline]
269267
extern "rust-call" fn call_mut(&mut self, args: A) -> F::Output {
270268
(**self).call(args)
271269
}
@@ -278,7 +276,6 @@ mod impls {
278276
{
279277
type Output = F::Output;
280278

281-
#[inline]
282279
extern "rust-call" fn call_once(self, args: A) -> F::Output {
283280
(*self).call(args)
284281
}
@@ -289,7 +286,6 @@ mod impls {
289286
where
290287
F: FnMut<A>,
291288
{
292-
#[inline]
293289
extern "rust-call" fn call_mut(&mut self, args: A) -> F::Output {
294290
(*self).call_mut(args)
295291
}
@@ -301,7 +297,6 @@ mod impls {
301297
F: FnMut<A>,
302298
{
303299
type Output = F::Output;
304-
#[inline]
305300
extern "rust-call" fn call_once(self, args: A) -> F::Output {
306301
(*self).call_mut(args)
307302
}

0 commit comments

Comments
 (0)