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"]
1212arrayref = " 0.3.6"
1313borsh.workspace = true
1414solana-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 {
128128
129129impl std:: fmt:: Display for PriceStatus {
130130 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+ )
138142 }
139143}
140144
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ crate-type = ["cdylib", "lib"]
1818hex = { version = " 0.4.3" , features = [" serde" ] }
1919borsh.workspace = true
2020borsh-derive.workspace = true
21- serde = { worksapce = true , features = [" derive" ] }
21+ serde = { workspace = true , features = [" derive" ] }
2222schemars = " 0.8.8"
2323getrandom = { version = " 0.2.2" , features = [" custom" ] }
2424
You can’t perform that action at this time.
0 commit comments