Never type ! and diverging functions

We used a macro called unimplemented!(), which helps in letting the compiler ignore any unimplemented function and to compile our code. This works because the unimplemented macro returns something called a never type, denoted by !.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset