@@ -28,7 +28,9 @@ impl std::fmt::Display for EmbedException {
28
28
EmbedException :: SapiNotInitialized => write ! ( f, "Failed to initialize SAPI" ) ,
29
29
EmbedException :: SapiLockFailed => write ! ( f, "Failed to acquire SAPI lock" ) ,
30
30
EmbedException :: SapiMissingStartupFunction => write ! ( f, "Missing SAPI startup function" ) ,
31
- EmbedException :: FailedToFindExeLocation => write ! ( f, "Failed to identify executable location" ) ,
31
+ EmbedException :: FailedToFindExeLocation => {
32
+ write ! ( f, "Failed to identify executable location" )
33
+ }
32
34
EmbedException :: DocRootNotFound ( docroot) => write ! ( f, "Document root not found: {}" , docroot) ,
33
35
EmbedException :: SapiNotStarted => write ! ( f, "Failed to start SAPI" ) ,
34
36
EmbedException :: SapiRequestNotStarted => write ! ( f, "Failed to start SAPI request" ) ,
@@ -39,8 +41,12 @@ impl std::fmt::Display for EmbedException {
39
41
EmbedException :: Exception ( e) => write ! ( f, "Exception thrown: {}" , e) ,
40
42
EmbedException :: Bailout => write ! ( f, "PHP bailout" ) ,
41
43
EmbedException :: ResponseBuildError => write ! ( f, "Failed to build response" ) ,
42
- EmbedException :: FailedToFindCurrentDirectory => write ! ( f, "Failed to identify current directory" ) ,
43
- EmbedException :: ExpectedAbsoluteRequestUri ( e) => write ! ( f, "Expected absolute REQUEST_URI: {}" , e) ,
44
+ EmbedException :: FailedToFindCurrentDirectory => {
45
+ write ! ( f, "Failed to identify current directory" )
46
+ }
47
+ EmbedException :: ExpectedAbsoluteRequestUri ( e) => {
48
+ write ! ( f, "Expected absolute REQUEST_URI: {}" , e)
49
+ }
44
50
EmbedException :: ScriptNotFound ( e) => write ! ( f, "Script not found: {}" , e) ,
45
51
}
46
52
}
0 commit comments