We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 031bbe0 commit 448bd07Copy full SHA for 448bd07
tools/witx/src/render.rs
@@ -47,19 +47,19 @@ impl fmt::Display for SExpr {
47
}
48
49
impl SExpr {
50
- fn word(s: &str) -> SExpr {
+ pub fn word(s: &str) -> SExpr {
51
SExpr::Word(s.to_string())
52
53
- fn ident(s: &str) -> SExpr {
+ pub fn ident(s: &str) -> SExpr {
54
SExpr::Ident(s.to_string())
55
56
- fn quote(s: &str) -> SExpr {
+ pub fn quote(s: &str) -> SExpr {
57
SExpr::Quote(s.to_string())
58
59
- fn annot(s: &str) -> SExpr {
+ pub fn annot(s: &str) -> SExpr {
60
SExpr::Annot(s.to_string())
61
62
- fn docs(d: &str, s: SExpr) -> SExpr {
+ pub fn docs(d: &str, s: SExpr) -> SExpr {
63
if d.is_empty() {
64
s
65
} else {
0 commit comments