diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-10 21:39:25 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-10 21:39:25 -0800 |
commit | 9a83067d04c9648416b92fc8d7b8a542b0b9aa96 (patch) | |
tree | 4622455b0f694262db5aa77314a3941ab37419fc /rust/src/server.rs | |
parent | b75aa46db21c6f7a22b6fbbbd00b1e5d93e1d1ae (diff) | |
download | fatcat-9a83067d04c9648416b92fc8d7b8a542b0b9aa96.tar.gz fatcat-9a83067d04c9648416b92fc8d7b8a542b0b9aa96.zip |
code docs/comments and rustfmt
Diffstat (limited to 'rust/src/server.rs')
-rw-r--r-- | rust/src/server.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/server.rs b/rust/src/server.rs index c7cfa363..42ae9a07 100644 --- a/rust/src/server.rs +++ b/rust/src/server.rs @@ -1,14 +1,14 @@ //! API endpoint handlers -use crate::auth::{AuthConfectionary, self}; +use crate::auth::{self, AuthConfectionary}; use crate::errors::Result; +use cadence::{NopMetricSink, StatsdClient}; use chrono; use diesel; use diesel::pg::PgConnection; use diesel::r2d2::ConnectionManager; use dotenv::dotenv; use std::env; -use cadence::{StatsdClient, NopMetricSink}; #[cfg(feature = "postgres")] embed_migrations!("../migrations/"); |