Be conservative with visibility

This commit is contained in:
bakaq
2024-08-19 23:19:09 -03:00
parent 12a61cdff8
commit 806e980cca
7 changed files with 56 additions and 49 deletions

View File

@@ -5,7 +5,7 @@ mod setup;
mod iai {
use iai_callgrind::{library_benchmark, library_benchmark_group, main};
use scryer_prolog::machine::parsed_results::QueryResolution;
use scryer_prolog::QueryResolution;
use super::setup;

View File

@@ -1,10 +1,7 @@
use std::{collections::BTreeMap, fs, path::Path};
use maplit::btreemap;
use scryer_prolog::machine::{
parsed_results::{QueryResolution, Value},
Machine,
};
use scryer_prolog::{Machine, QueryResolution, Value};
pub fn prolog_benches() -> BTreeMap<&'static str, PrologBenchmark> {
[
@@ -88,7 +85,7 @@ mod test {
#[test]
fn validate_benchmarks() {
use super::prolog_benches;
use scryer_prolog::machine::parsed_results::{QueryMatch, QueryResolution};
use scryer_prolog::{QueryMatch, QueryResolution};
use std::{fmt::Write, fs};
struct BenchResult {