Skip to content

Commit 78a4028

Browse files
committed
Add Display impl for Script
1 parent 2543254 commit 78a4028

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ impl From<char> for Script {
112112
}
113113
}
114114

115+
impl fmt::Display for Script {
116+
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
117+
write!(f, "{}", self.full_name())
118+
}
119+
}
120+
115121
#[derive(Clone, Copy, PartialEq, Eq, Hash)]
116122
#[non_exhaustive]
117123
/// A value for the `Script_Extension` property

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy