Skip to content

Commit 2eb84f3

Browse files
authored
Update README.md
1 parent 499214d commit 2eb84f3

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,8 @@ let out: fn(i32, i32) -> u64 = unsafe { f.with_output::<u64>() };
7979

8080
// args
8181
let args: fn(u8, u16) -> i32 = unsafe { f.with_args::<(u8, u16)>() };
82-
83-
# assert_eq!(f.addr(), f2.addr());
84-
# assert_eq!(f.addr(), c.addr());
85-
# assert_eq!(f.addr(), out.addr());
86-
# assert_eq!(f.addr(), args.addr());
8782
```
83+
8884
## How it works
8985

9086
Implementations are generated by a large [macro]((https://github.com/OpenByteDev/fn-ptr/blob/master/src/impl.rs)). The rewrite macros are thin wrappers

0 commit comments

Comments
 (0)