summaryrefslogtreecommitdiffstats
path: root/rust/src/api_server.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-23 18:58:05 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-24 15:21:32 -0700
commit4f7db09a5367170c2b06d6067e840c841e15eed6 (patch)
tree9d60824550700fe3fc05eb0bdd57bda0d454a840 /rust/src/api_server.rs
parent76c8262b5b4163c50ed23c32448919006518059c (diff)
downloadfatcat-4f7db09a5367170c2b06d6067e840c841e15eed6.tar.gz
fatcat-4f7db09a5367170c2b06d6067e840c841e15eed6.zip
clean up unused macro etc warnings
Diffstat (limited to 'rust/src/api_server.rs')
-rw-r--r--rust/src/api_server.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/api_server.rs b/rust/src/api_server.rs
index 0e7bf4bc..3b052a6c 100644
--- a/rust/src/api_server.rs
+++ b/rust/src/api_server.rs
@@ -491,7 +491,7 @@ impl Api for Server {
fn creator_post(
&self,
body: models::CreatorEntity,
- context: &Context,
+ _context: &Context,
) -> Box<Future<Item = CreatorPostResponse, Error = ApiError> + Send> {
//let editgroup_id: i64 = body.editgroup.expect("need editgroup_id") as i64;
// TODO: or find/create
@@ -616,7 +616,7 @@ impl Api for Server {
let conn = self.db_pool.get().expect("db_pool error");
let work_id = uuid::Uuid::parse_str(&body.work_id).expect("invalid UUID");
- let container_id: Option<uuid::Uuid> = match body.container_id {
+ let _container_id: Option<uuid::Uuid> = match body.container_id {
Some(id) => Some(uuid::Uuid::parse_str(&id).expect("invalid UUID")),
None => None,
};