Skip to content

Commit 696fcc6

Browse files
committed
cargo fmt
1 parent 8f97727 commit 696fcc6

File tree

1 file changed

+3
-1
lines changed
  • rust/cubesqlplanner/cubesqlplanner/src/planner/time_dimension

1 file changed

+3
-1
lines changed

rust/cubesqlplanner/cubesqlplanner/src/planner/time_dimension/sql_interval.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ impl SqlInterval {
5656
} else if self.year != 0 {
5757
"year"
5858
} else {
59-
return Err(CubeError::internal("Attempt to get granularity from empty SqlInterval".to_string()));
59+
return Err(CubeError::internal(
60+
"Attempt to get granularity from empty SqlInterval".to_string(),
61+
));
6062
};
6163
Ok(res.to_string())
6264
}

0 commit comments

Comments
 (0)