Please consider the following MWE:
\documentclass[border=3mm,tikz]{standalone}
\begin{document}
\begin{tikzpicture}[pin edge={-, solid, black}]
\draw[<->] (0,0) -- node[pin=above:A] {} + (1,0);
\draw[<->] (2,0) -- coordinate[pin=above:B] (a) + (1,0);
\end{tikzpicture}
\end{document}
I expect that arrow labeled by B would be the same as as arrow A.