tl;dr : I commented on an old answer to show corrected links. Is there a better way?
This has recently come up for me because of the accepted answer for this question:
Is there a way to autodetect when a display is disconnected?
There were at least two outdated pieces of information which required updating, and for now, anyway, I've just left comments indicating this.
I would probably just edit the current answer if there was a one-for-one link replacement available, but I don't think that is the case here. Furthermore, I can't test the updated information because I don't have the set-up described in the question.
Should I nevertheless have put the updates inline in the answer, somehow, or are comments a reasonable way to do this? Is there a better way?