fix compile error under newest rust
rm unnecessary owned conversion
Merge pull request #100 from andelf/update-for-newest-rust

fix compile error under newest rust