summaryrefslogtreecommitdiff
path: root/nexus/src/main/kotlin/tech/libeufin/nexus/XmlCombinators.kt
diff options
context:
space:
mode:
Diffstat (limited to 'nexus/src/main/kotlin/tech/libeufin/nexus/XmlCombinators.kt')
-rw-r--r--nexus/src/main/kotlin/tech/libeufin/nexus/XmlCombinators.kt3
1 files changed, 0 insertions, 3 deletions
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/XmlCombinators.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/XmlCombinators.kt
index fbed0b7b..1ad16f6c 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/XmlCombinators.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/XmlCombinators.kt
@@ -199,6 +199,3 @@ class XmlDestructor internal constructor(private val el: Element) {
}
}
}
-
-fun <T> destructXml(xml: InputStream, root: String, f: XmlDestructor.() -> T): T
- = XmlDestructor.fromStream(xml, root, f)