This is just a typo, do not worry about it (in fact, this is not the only typo). If you check the data form mnist.train.labels.shape, you will receive (55000, 10)that does not match the request (60000, 10).
Also this data form shows you that the length of one hot vector is 10.