Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // training run
- #![allow(dead_code)]
- fn do_nothing() -> (/* fix */) {
- return || {};
- }
- #[test]
- fn test_do_nothing() {
- assert_eq!(do_nothing()(), ());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement