Fix static handler snippet in the guide

Thanks to Martin Törnwall for pointing this out.