I have two boxes that fill up most of the width of a page, with a \vrule between them, with an \hfill on either side of the rule, so that the two boxes are pushed to either side of the page and the rule falls directly between them. However, the rule always actually ends up falling just a little to the right of where it is supposed to.
I was able to fix the issue by replacing the each \hfill with \hspace*{\fill}. The difference is illustrated below with a MWE. Why do I need to do this?
\documentclass{article}
\setlength{\fboxsep}{0pt}
\begin{document}
\fbox{\parbox[t]{0.3\textwidth}{this is parbox \#1}}
\hfill\vrule\hfill
\fbox{\parbox[t]{0.6\textwidth}{this is parbox \#2 (using \textbackslash{}hfill)}}
\vspace{10pt}
\fbox{\parbox[t]{0.3\textwidth}{this is parbox \#1}}
\hspace*{\fill}\vrule\hspace*{\fill}
\fbox{\parbox[t]{0.6\textwidth}{this is parbox \#2 (using \textbackslash{}hspace*)}}
\end{document}

