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/endpoints.rs | |
parent | b75aa46db21c6f7a22b6fbbbd00b1e5d93e1d1ae (diff) | |
download | fatcat-9a83067d04c9648416b92fc8d7b8a542b0b9aa96.tar.gz fatcat-9a83067d04c9648416b92fc8d7b8a542b0b9aa96.zip |
code docs/comments and rustfmt
Diffstat (limited to 'rust/src/endpoints.rs')
-rw-r--r-- | rust/src/endpoints.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/endpoints.rs b/rust/src/endpoints.rs index 8c7700f1..3a95f746 100644 --- a/rust/src/endpoints.rs +++ b/rust/src/endpoints.rs @@ -14,6 +14,7 @@ use crate::entity_crud::{EntityCrud, ExpandFlags, HideFlags}; use crate::errors::*; use crate::identifiers::FatcatId; use crate::server::*; +use cadence::prelude::*; use diesel::Connection; use fatcat_api_spec::models; use fatcat_api_spec::models::*; @@ -22,7 +23,6 @@ use futures::{self, Future}; use sentry::integrations::failure::capture_fail; use std::str::FromStr; use uuid::{self, Uuid}; -use cadence::prelude::*; // This makes response matching below *much* more terse use crate::errors::FatcatError::*; @@ -764,7 +764,7 @@ impl Api for Server { success: true, message: "horray!".to_string(), }) - }, + } Err(fe) => generic_auth_err_responses!(fe, AcceptEditgroupResponse), }; Box::new(futures::done(Ok(ret))) |