That's because all string literals have 'static lifetime. From the rust book: One special lifetime we need to discuss is 'static, ...
確定! 回上一頁