mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-24 00:40:40 +00:00
build: specify clippy denies in cargo config (#1351)
* build: specify clippy denies in cargo config Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * deny implicit clone Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
@@ -52,7 +52,7 @@ impl From<UnlockRequest> for PbUnlockRequest {
|
||||
fn from(req: UnlockRequest) -> Self {
|
||||
Self {
|
||||
header: None,
|
||||
key: req.key.to_vec(),
|
||||
key: req.key,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user