From 5486e97662b3ba093a3d15320dac5ec6479dc29a Mon Sep 17 00:00:00 2001 From: LinZhihao-723 Date: Fri, 13 Dec 2024 16:35:14 -0500 Subject: [PATCH] Mark from_multiple_nfas as public --- src/dfa/dfa.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dfa/dfa.rs b/src/dfa/dfa.rs index 156c6f2..7575fbd 100644 --- a/src/dfa/dfa.rs +++ b/src/dfa/dfa.rs @@ -216,7 +216,7 @@ impl DFA { } impl DFA { - fn from_multiple_nfas(nfas: Vec) -> DFA { + pub fn from_multiple_nfas(nfas: Vec) -> DFA { // All of the nodes now have a pair of identifiers, // 1. the NFA index within the list of NFAs // 2. the NFA state index within the NFA