Update actix-http/src/extensions.rs

Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
Augusto César Dias 2020-10-26 15:12:15 +01:00 committed by GitHub
parent 5fa6742902
commit 03b30a8d88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -62,9 +62,9 @@ impl Extensions {
self.map.clear(); self.map.clear();
} }
/// Extends it with the content for another `Extensions` /// Extends self with the items from another `Extensions`.
pub fn extend(&mut self, extensions: Extensions) { pub fn extend(&mut self, other: Extensions) {
self.map.extend(extensions.map); self.map.extend(other.map);
} }
} }