Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
mark str::string::String.trim.* functions as #[must_use]. #57106
The functions return a reference to a new object and do not modify in-place
The new reference should be bound to a variable as now indicated by #[must_use].