It seems there should be a way to trim the string without copying it (in C you'd just replace the '\n' with '\0' ). string rust · Share.
確定! 回上一頁