diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2019-12-21 15:08:10 -0500 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2019-12-21 15:08:52 -0500 |
| commit | 909cf65c97ef2ec56090559293f6619dbd1e9f1f (patch) | |
| tree | 855b195db502f0451fabefcac39be8bd898a3629 /src/routes/not_understood.rs | |
| parent | 4117f797cec89927fe3363543b8c8b11a311b90c (diff) | |
| download | august-offensive-909cf65c97ef2ec56090559293f6619dbd1e9f1f.tar.gz august-offensive-909cf65c97ef2ec56090559293f6619dbd1e9f1f.tar.bz2 august-offensive-909cf65c97ef2ec56090559293f6619dbd1e9f1f.zip | |
Adopt Rust 2018 edition with idiomatic changes
Diffstat (limited to 'src/routes/not_understood.rs')
| -rw-r--r-- | src/routes/not_understood.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/not_understood.rs b/src/routes/not_understood.rs index 4e30361..7ca5ed2 100644 --- a/src/routes/not_understood.rs +++ b/src/routes/not_understood.rs @@ -1,4 +1,4 @@ -use routes::*; +use crate::routes::*; // Sends a default response message when requested an undefined resource. pub fn not_understood(req: HttpRequest) -> JsonMessage<NotUnderstood> { @@ -15,7 +15,7 @@ pub fn not_understood(req: HttpRequest) -> JsonMessage<NotUnderstood> { #[cfg(test)] mod tests { use super::*; - use routes::tests::*; + use crate::routes::tests::*; #[test] fn test_not_understood() { |
