This function serves the use-case of surgically renaming references to variables in an existing file without disturbing other tokens.
Since the goal of this is to be somewhat realistic of what a caller might do, we might as well also include it in the godoc examples.