diff --git a/core/src/doc/lives.rs b/core/src/doc/lives.rs index 68a1e76e4227..c512320fe11e 100644 --- a/core/src/doc/lives.rs +++ b/core/src/doc/lives.rs @@ -1,4 +1,4 @@ -use crate::ctx::{Context, MutableContext}; +use crate::ctx::Context; use crate::dbs::Action; use crate::dbs::Notification; use crate::dbs::Options; @@ -6,14 +6,10 @@ use crate::dbs::Statement; use crate::doc::CursorDoc; use crate::doc::Document; use crate::err::Error; -use crate::sql::paths::AC; use crate::sql::paths::META; -use crate::sql::paths::RD; -use crate::sql::paths::TK; use crate::sql::permission::Permission; use crate::sql::Value; use reblessive::tree::Stk; -use std::sync::Arc; impl Document { pub async fn lives( diff --git a/core/src/sql/statements/remove/table.rs b/core/src/sql/statements/remove/table.rs index 8faa12ec6876..48c34958c9bf 100644 --- a/core/src/sql/statements/remove/table.rs +++ b/core/src/sql/statements/remove/table.rs @@ -1,5 +1,5 @@ use crate::ctx::Context; -use crate::dbs::{Action as LiveAction, Notification, Options, Statement}; +use crate::dbs::{Action as LiveAction, Notification, Options}; use crate::err::Error; use crate::iam::{Action, ResourceKind}; use crate::sql::{Base, Ident, Value}; @@ -7,7 +7,6 @@ use derive::Store; use revision::revisioned; use serde::{Deserialize, Serialize}; use std::fmt::{self, Display, Formatter}; -use std::ops::Deref; #[revisioned(revision = 2)] #[derive(Clone, Debug, Default, Eq, PartialEq, PartialOrd, Serialize, Deserialize, Store, Hash)]