1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 00:50:20 +02:00

spelling check

This commit is contained in:
Alexander Andreev
2018-05-06 19:07:30 +03:00
parent a7c40024ce
commit cd11293c1f
11 changed files with 26 additions and 26 deletions

View File

@@ -150,7 +150,7 @@ enum PatternType {
pub enum ResourceType {
/// Normal resource
Normal,
/// Resource for applicaiton default handler
/// Resource for application default handler
Default,
/// External resource
External,
@@ -158,7 +158,7 @@ pub enum ResourceType {
Unset,
}
/// Reslource type describes an entry in resources table
/// Resource type describes an entry in resources table
#[derive(Clone)]
pub struct Resource {
tp: PatternType,
@@ -268,7 +268,7 @@ impl Resource {
}
}
/// Build reousrce path.
/// Build resource path.
pub fn resource_path<U, I>(
&self, router: &Router, elements: U,
) -> Result<String, UrlGenerationError>