Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: xxchan <[email protected]>
  • Loading branch information
xxchan committed Jan 13, 2025
1 parent 3d1a47b commit da2d4b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bench/sink_bench/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ impl MockDatagenSource {
datagen_split_readers.push(
DatagenSplitReader::new(
properties.clone(),
vec![DatagenSplit::try_from(splits).unwrap()],
vec![splits],
parser_config.clone(),
SourceContext::dummy().into(),
Some(source_schema.clone()),
Expand Down
2 changes: 1 addition & 1 deletion src/connector/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ macro_rules! impl_connector_properties {
$crate::paste! {
impl ConnectorProperties {
pub async fn create_split_enumerator(self, context: $crate::source::base::SourceEnumeratorContextRef) -> $crate::error::ConnectorResult<Box<dyn AnySplitEnumerator>> {
use crate::source::prelude::*;
use $crate::source::prelude::*;
let enumerator: Box<dyn AnySplitEnumerator> = match self {
$(
ConnectorProperties::$variant_name(prop) =>
Expand Down

0 comments on commit da2d4b6

Please sign in to comment.