I'd like to draw two wave-shaped contours, as in the figure below, and fill the area between. I tried the following code, but it produces an undesired black vertical edge on the right. How do I remove that?
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\useasboundingbox (-1,-1) rectangle (6,2);
\draw[fill=black!10] (0,1) to[out=0,in=180] ++(5,-0.6) -- ++(0,0.6) to[out=180,in=0] ++(-5,-0.6);
\end{tikzpicture}
\end{document}
I also tried to remove the -- between ++(5,-0.6) and ++(0,0.6) in the 5th line, it doesn't draw the undesired edge, but it messes up the filling.
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\useasboundingbox (-1,-1) rectangle (6,2);
\draw[fill=black!10] (0,1) to[out=0,in=180] ++(5,-0.6) ++(0,0.6) to[out=180,in=0] ++(-5,-0.6);
\end{tikzpicture}
\end{document}




