Skip to content

Commit 6fa8eba

Browse files
committed
Resolve/work around the latest Clippy complaints
1 parent 50fc7eb commit 6fa8eba

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

crates/engine_spx2html/src/specials.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use std::fmt::{Display, Error, Formatter};
77
use tectonic_status_base::{tt_warning, StatusBackend};
88

9+
#[allow(clippy::enum_variant_names)]
910
#[derive(Debug, Clone, Copy, Eq, PartialEq)]
1011
pub(crate) enum Special<'a> {
1112
AddTemplate(&'a str),

tests/driver.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
//! ProcessingSessionBuilder will need to learn how to tell `xdvipdfmx` to
99
//! enable the reproducibility options used in the `tex-outputs` test rig.
1010
11-
use tectonic::config::PersistentConfig;
12-
use tectonic::driver::ProcessingSessionBuilder;
13-
use tectonic::status::termcolor::TermcolorStatusBackend;
14-
use tectonic::status::ChatterLevel;
11+
use tectonic::{
12+
config::PersistentConfig, driver::ProcessingSessionBuilder,
13+
status::termcolor::TermcolorStatusBackend, status::ChatterLevel, test_util::TestBundle,
14+
};
1515

1616
mod util;
1717

@@ -26,7 +26,7 @@ fn the_letter_a() {
2626
// The "Normal" chatter escapes the test rig's attempts to eat stdout ...
2727
let mut status = TermcolorStatusBackend::new(ChatterLevel::Minimal);
2828

29-
let bundle = util::TestBundle::default();
29+
let bundle = TestBundle::default();
3030

3131
let tempdir = tempfile::Builder::new()
3232
.prefix("tectonic_driver_test")

tests/util/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use std::{
2222
use tectonic::{errors::Result, io::memory::MemoryFileCollection};
2323
use tectonic_bridge_core::{CoreBridgeLauncher, MinimalDriver};
2424

25-
pub use tectonic::test_util::{test_path, TestBundle};
25+
pub use tectonic::test_util::test_path;
2626

2727
/// Set the magic environment variable that enables the testing infrastructure
2828
/// embedded in the main Tectonic crate. This function is separated out from

0 commit comments

Comments
 (0)