fix clippy

This commit is contained in:
weisd
2025-06-25 11:13:29 +08:00
parent 280d14997a
commit 61e600b9ba
15 changed files with 127 additions and 117 deletions
+3 -3
View File
@@ -61,7 +61,7 @@ impl TransitionClient {
}
#[derive(Default)]
struct GetRequest {
pub struct GetRequest {
pub buffer: Vec<u8>,
pub offset: i64,
pub did_offset_change: bool,
@@ -72,7 +72,7 @@ struct GetRequest {
pub setting_object_info: bool,
}
struct GetResponse {
pub struct GetResponse {
pub size: i64,
//pub error: error,
pub did_read: bool,
@@ -80,7 +80,7 @@ struct GetResponse {
}
#[derive(Default)]
struct Object {
pub struct Object {
//pub reqch: chan<- getRequest,
//pub resch: <-chan getResponse,
//pub cancel: context.CancelFunc,