Skip to content

Commit 6f562d8

Browse files
committed
cargo fmt
1 parent 1812ace commit 6f562d8

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/dialect/snowflake.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ use crate::ast::helpers::stmt_data_loading::{
2323
StageLoadSelectItem, StageParamsObject,
2424
};
2525
use crate::ast::{
26-
ColumnOption, ColumnPolicy, ColumnPolicyProperty, CopyIntoSnowflakeKind, Ident, IdentityParameters, IdentityProperty, IdentityPropertyFormatKind, IdentityPropertyKind, IdentityPropertyOrder, ObjectName, RowAccessPolicy, ShowObjects, Statement, TagsColumnOption, WrappedCollection
26+
ColumnOption, ColumnPolicy, ColumnPolicyProperty, CopyIntoSnowflakeKind, Ident,
27+
IdentityParameters, IdentityProperty, IdentityPropertyFormatKind, IdentityPropertyKind,
28+
IdentityPropertyOrder, ObjectName, RowAccessPolicy, ShowObjects, Statement, TagsColumnOption,
29+
WrappedCollection,
2730
};
2831
use crate::dialect::{Dialect, Precedence};
2932
use crate::keywords::Keyword;

tests/sqlparser_snowflake.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3130,9 +3130,10 @@ fn test_parse_show_objects() {
31303130
}) => {
31313131
assert!(terse);
31323132
let name = match show_options.show_in {
3133-
Some(ShowStatementIn { parent_name: Some(val), .. }) => {
3134-
val.to_string()
3135-
}
3133+
Some(ShowStatementIn {
3134+
parent_name: Some(val),
3135+
..
3136+
}) => val.to_string(),
31363137
_ => unreachable!(),
31373138
};
31383139
assert_eq!("abc", name);

0 commit comments

Comments
 (0)