File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -905,8 +905,8 @@ impl std::error::Error for RendererCreationError {
905
905
impl std:: fmt:: Display for RendererCreationError {
906
906
fn fmt ( & self , f : & mut std:: fmt:: Formatter ) -> Result < ( ) , std:: fmt:: Error > {
907
907
match * self {
908
- RendererCreationError :: Texture ( ref e) => std:: fmt:: Display ( e, f) ,
909
- RendererCreationError :: Program ( ref e) => std:: fmt:: Display ( e, f) ,
908
+ RendererCreationError :: Texture ( ref e) => std:: fmt:: Display :: fmt ( e, f) ,
909
+ RendererCreationError :: Program ( ref e) => std:: fmt:: Display :: fmt ( e, f) ,
910
910
}
911
911
}
912
912
}
@@ -935,8 +935,8 @@ impl std::error::Error for DrawError {
935
935
impl std:: fmt:: Display for DrawError {
936
936
fn fmt ( & self , f : & mut std:: fmt:: Formatter ) -> Result < ( ) , std:: fmt:: Error > {
937
937
match * self {
938
- DrawError :: Buffer ( ref e) => std:: fmt:: Display ( e, f) ,
939
- DrawError :: Draw ( ref e) => std:: fmt:: Display ( e, f) ,
938
+ DrawError :: Buffer ( ref e) => std:: fmt:: Display :: fmt ( e, f) ,
939
+ DrawError :: Draw ( ref e) => std:: fmt:: Display :: fmt ( e, f) ,
940
940
}
941
941
}
942
942
}
You can’t perform that action at this time.
0 commit comments