mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-26 06:57:43 +02:00
chore: update msrv to 1.68 (#3094)
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
## Unreleased - 2023-xx-xx
|
||||
|
||||
- Minimum supported Rust version (MSRV) is now 1.65 due to transitive `time` dependency.
|
||||
- Minimum supported Rust version (MSRV) is now 1.68 due to transitive `time` dependency.
|
||||
|
||||
## 0.5.1 - 2022-09-19
|
||||
|
||||
|
@ -501,7 +501,12 @@ impl ResourceDef {
|
||||
let patterns = self
|
||||
.pattern_iter()
|
||||
.flat_map(move |this| other.pattern_iter().map(move |other| (this, other)))
|
||||
.map(|(this, other)| [this, other].join(""))
|
||||
.map(|(this, other)| {
|
||||
let mut pattern = String::with_capacity(this.len() + other.len());
|
||||
pattern.push_str(this);
|
||||
pattern.push_str(other);
|
||||
pattern
|
||||
})
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
match patterns.len() {
|
||||
|
Reference in New Issue
Block a user