Convert vec::raw::to_ptr(*) to *.as_ptr()
Merge pull request #24 from jhasse/patch-asptr

Convert vec::raw::to_ptr(*) to *.as_ptr()