Skip to content

Commit 8f52afc

Browse files
committed
move import
1 parent 7499971 commit 8f52afc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/params/sam.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// SAM output type enums
33
// ---------------------------------------------------------------------------
44

5-
use clap::error::{ContextKind, ContextValue, ErrorKind};
6-
75
/// STAR's `--outSAMtype` format component.
86
#[derive(Debug, Clone, PartialEq, Eq, Default)]
97
pub enum OutSamFormat {
@@ -161,6 +159,8 @@ impl clap::Args for OutSamUnmapped {
161159
// Helpers
162160

163161
fn invalid_multi_arg(other: &[&str], valid: &[&str]) -> clap::error::Error {
162+
use clap::error::{ContextKind, ContextValue, ErrorKind};
163+
164164
let mut err = clap::Error::new(ErrorKind::InvalidValue);
165165
err.insert(
166166
ContextKind::InvalidArg,

0 commit comments

Comments
 (0)