rust: udpate (fix issue #18).