TL;DR: do you expect to make more than your student loan interest investing? If not, then paying off your student loans has a guaranteed rate of return equal to your student loan interest.
Same goes for any loan.
I think you meant a tax free return equal to your student loan interest rate - though you ought to factor inflation that reduces the value of the loan