rust lifetime issues persist
working replacement
Merge pull request #8 from EchoAce/replace-fix

Replace fix