Shower can holder

If you're like me, you find shaving in the shower convenient. But the shaving cream can gets wet, the moisture runs down the side and collects on the bottom, which then rusts, and the rust stains whatever the can is sitting on.

A soap dish would solve the staining problem, but they are inconveniently shaped. This is basically a soap dish designed for a can.