In the classic Frances Hodgson Burnett book upon which this movie was based, Mary and Colin are first cousins. That familial relation was deleted in this movie version specifically so that the adult Mary and the adult Colin could be shown as engaged to be married at the end of the film.