Skip to content

Commit

Permalink
Fix clippy lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
asaaki committed Dec 4, 2024
1 parent b467345 commit 35a0fbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/borrowed/parquet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub struct ValidatedLogline<'a> {
pub sc_range_end: Option<i64>,
}

impl<'a> ValidatedLogline<'a> {
impl ValidatedLogline<'_> {
pub fn schema() -> &'static str {
crate::consts::parquet_schemata::V1
}
Expand Down Expand Up @@ -322,7 +322,7 @@ pub struct UnvalidatedLogline<'a> {
pub sc_range_end: Option<i64>,
}

impl<'a> UnvalidatedLogline<'a> {
impl UnvalidatedLogline<'_> {
pub fn schema() -> &'static str {
crate::consts::parquet_schemata::V1
}
Expand Down
2 changes: 1 addition & 1 deletion src/borrowed/simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub type ValidatedLogline<'a> = Logline<'a, Validated>;
/// It only uses types available in the standard library.
///
/// If you need more specific types, use the [`typed`](crate::borrowed::typed) module.
///
/// Unlike [`ValidatedLogline`], this variant does not check if the line can be parsed.
/// Use this if you already did a check before creating this struct.
/// A common scenario is that you 1) trust the input data and 2) skipped the comment lines.
Expand Down

0 comments on commit 35a0fbf

Please sign in to comment.