mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-08-23 08:03:47 -07:00
warnings: remove/tweak some dead code
It looks like the dead code detector got better, so do a little code cleanup.
This commit is contained in:
@@ -436,6 +436,7 @@ pub enum SinkContextKind {
|
||||
/// A type that describes a contextual line reported by a searcher.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct SinkContext<'b> {
|
||||
#[cfg(test)]
|
||||
pub(crate) line_term: LineTerminator,
|
||||
pub(crate) bytes: &'b [u8],
|
||||
pub(crate) kind: SinkContextKind,
|
||||
|
Reference in New Issue
Block a user