Update dispatching.rst

Add styling to code bloc.
Add missing { in code example.