A note on Hurwitz's inequality