DEV Community

Discussion on: Calling a private Rust function from outside of its module

Collapse
 
thepuzzlemaker profile image
James [Undefined]

There's a small typo in the code at the top:

::<usize fn> ()>
Enter fullscreen mode Exit fullscreen mode

should be

::<usize, fn ()>
Enter fullscreen mode Exit fullscreen mode

Otherwise, good article! :)