@@ -20,19 +20,19 @@ use windows::{
20
20
/// Represents an error from [`XpsPrinter`].
21
21
pub enum XpsPrinterError {
22
22
/// Failed to create event.
23
- #[ error( "Failed to create event: {0} " ) ]
23
+ #[ error( "Failed to create event" ) ]
24
24
FailedToCreateEvent ( #[ source] windows:: core:: Error ) ,
25
25
/// Failed to create object factory.
26
- #[ error( "Failed to create object factory: {0} " ) ]
26
+ #[ error( "Failed to create object factory" ) ]
27
27
FailedToCreateObjectFactory ( #[ source] windows:: core:: Error ) ,
28
28
/// Failed to start job.
29
- #[ error( "Failed to start job: {0} " ) ]
29
+ #[ error( "Failed to start job" ) ]
30
30
FailedToStartJob ( #[ source] windows:: core:: Error ) ,
31
31
/// Failed to apply print ticket.
32
- #[ error( "Failed to apply print ticket: {0} " ) ]
32
+ #[ error( "Failed to apply print ticket" ) ]
33
33
FailedToApplyPrintTicket ( #[ source] windows:: core:: Error ) ,
34
34
/// Failed to write document.
35
- #[ error( "Failed to write document: {0} " ) ]
35
+ #[ error( "Failed to write document" ) ]
36
36
FailedToWriteDocument ( #[ source] windows:: core:: Error ) ,
37
37
/// Stream is not available.
38
38
#[ error( "Stream is not available" ) ]
0 commit comments