File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ crate-type = ["cdylib", "lib"]
12
12
arrayref = " 0.3.6"
13
13
borsh.workspace = true
14
14
solana-program.workspace = true
15
- pyth-sdk-solana.workspace = true
15
+ pyth-sdk-solana.workspace = true
Original file line number Diff line number Diff line change @@ -128,13 +128,17 @@ pub enum PriceStatus {
128
128
129
129
impl std:: fmt:: Display for PriceStatus {
130
130
fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
131
- write ! ( f, "{}" , match self {
132
- Self :: Unknown =>"unknown" ,
133
- Self :: Trading =>"trading" ,
134
- Self :: Halted => "halted" ,
135
- Self :: Auction =>"auction" ,
136
- Self :: Ignored =>"ignored" ,
137
- } )
131
+ write ! (
132
+ f,
133
+ "{}" ,
134
+ match self {
135
+ Self :: Unknown => "unknown" ,
136
+ Self :: Trading => "trading" ,
137
+ Self :: Halted => "halted" ,
138
+ Self :: Auction => "auction" ,
139
+ Self :: Ignored => "ignored" ,
140
+ }
141
+ )
138
142
}
139
143
}
140
144
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ crate-type = ["cdylib", "lib"]
18
18
hex = { version = " 0.4.3" , features = [" serde" ] }
19
19
borsh.workspace = true
20
20
borsh-derive.workspace = true
21
- serde = { worksapce = true , features = [" derive" ] }
21
+ serde = { workspace = true , features = [" derive" ] }
22
22
schemars = " 0.8.8"
23
23
getrandom = { version = " 0.2.2" , features = [" custom" ] }
24
24
You can’t perform that action at this time.
0 commit comments