fmt: update use of *T to *const T
Merge pull request #325 from kwantam/master

fmt: update use of *T to *const T