Documentation fix for basic_publish

Documentation fix for [#415](https://github.com/pika/pika/issues/415)
Merge pull request #416 from JuhaS/patch-1

Documentation fix for basic_publish