summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-07-19 13:48:14 +0800
committerJSDurand <mmemmew@gmail.com>2023-07-19 13:48:14 +0800
commit575023d032affd6e180cd32259c464e84a0e31e9 (patch)
tree7ec9e859344e1263f3b5a6edc53a84ad24580bf4
parent7da8b814d53c389849cfb5a8c9884afcd4215eac (diff)
chain/atom/default: Make `print_nullables` public.
* chain/src/atom/default.rs: Making this function public means I do not have to worry about it being unused.
-rw-r--r--chain/src/atom/default.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/chain/src/atom/default.rs b/chain/src/atom/default.rs
index bd71c1c..85d652f 100644
--- a/chain/src/atom/default.rs
+++ b/chain/src/atom/default.rs
@@ -116,7 +116,7 @@ impl DefaultAtom {
}
/// Print nullable nodes.
- pub(crate) fn print_nullables(&self) {
+ pub fn print_nullables(&self) {
print!("printing nullables for the atom: ");
for nullable in self