mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-21 13:39:22 +01:00
refactor: remove redundant references (#25571)
Co-authored-by: Sandy Spicer <sandy@posthog.com>
This commit is contained in:
parent
2b2e7e48b1
commit
39659d7103
@ -55,7 +55,7 @@ const DEFAULT_ENTERED_TIMESTAMP: EnteredTimestamp = EnteredTimestamp {
|
|||||||
};
|
};
|
||||||
|
|
||||||
pub fn process_line(line: &str) -> Value {
|
pub fn process_line(line: &str) -> Value {
|
||||||
let args = parse_args(&line);
|
let args = parse_args(line);
|
||||||
let mut aggregate_funnel_row = AggregateFunnelRow {
|
let mut aggregate_funnel_row = AggregateFunnelRow {
|
||||||
results: Vec::with_capacity(args.prop_vals.len()),
|
results: Vec::with_capacity(args.prop_vals.len()),
|
||||||
breakdown_step: Option::None,
|
breakdown_step: Option::None,
|
||||||
@ -112,7 +112,7 @@ impl AggregateFunnelRow {
|
|||||||
self.process_event(
|
self.process_event(
|
||||||
args,
|
args,
|
||||||
&mut vars,
|
&mut vars,
|
||||||
&events_with_same_timestamp[0],
|
events_with_same_timestamp[0],
|
||||||
prop_val,
|
prop_val,
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
@ -147,7 +147,7 @@ impl AggregateFunnelRow {
|
|||||||
args,
|
args,
|
||||||
&mut vars,
|
&mut vars,
|
||||||
&event,
|
&event,
|
||||||
&prop_val,
|
prop_val,
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -81,7 +81,7 @@ const DEFAULT_ENTERED_TIMESTAMP: EnteredTimestamp = EnteredTimestamp {
|
|||||||
};
|
};
|
||||||
|
|
||||||
pub fn process_line(line: &str) -> Value {
|
pub fn process_line(line: &str) -> Value {
|
||||||
let args = parse_args(&line);
|
let args = parse_args(line);
|
||||||
let mut aggregate_funnel_row = AggregateFunnelRow {
|
let mut aggregate_funnel_row = AggregateFunnelRow {
|
||||||
results: HashMap::new(),
|
results: HashMap::new(),
|
||||||
breakdown_step: Option::None,
|
breakdown_step: Option::None,
|
||||||
@ -128,7 +128,7 @@ impl AggregateFunnelRow {
|
|||||||
self.process_event(
|
self.process_event(
|
||||||
args,
|
args,
|
||||||
&mut vars,
|
&mut vars,
|
||||||
&event,
|
event,
|
||||||
prop_val,
|
prop_val,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user