aboutsummaryrefslogtreecommitdiff
path: root/src/routes/not_understood.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/not_understood.rs')
-rw-r--r--src/routes/not_understood.rs4
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() {