-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not write excess indents arount text fields when serialize with serde #820
Merged
Commits on Oct 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4934d7b - Browse repository at this point
Copy the full SHA 4934d7bView commit details -
Change expectations about indentation - never indent text productions
That means, never indent "$text" fields and do not indent "$value" fields that produces string without surrounding tags failures (208): se::content::tests::with_indent::enum_with_text_field::char_amp se::content::tests::with_indent::enum_with_text_field::char_apos se::content::tests::with_indent::enum_with_text_field::char_gt se::content::tests::with_indent::enum_with_text_field::char_lt se::content::tests::with_indent::enum_with_text_field::char_non_escaped se::content::tests::with_indent::enum_with_text_field::char_quot se::content::tests::with_indent::enum_with_text_field::char_space se::content::tests::with_indent::enum_with_text_field::enum_unit se::content::tests::with_indent::enum_with_text_field::enum_unit_escaped se::content::tests::with_indent::enum_with_text_field::f32_ se::content::tests::with_indent::enum_with_text_field::f64_ se::content::tests::with_indent::enum_with_text_field::false_ se::content::tests::with_indent::enum_with_text_field::i128_ se::content::tests::with_indent::enum_with_text_field::i16_ se::content::tests::with_indent::enum_with_text_field::i32_ se::content::tests::with_indent::enum_with_text_field::i64_ se::content::tests::with_indent::enum_with_text_field::i8_ se::content::tests::with_indent::enum_with_text_field::isize_ se::content::tests::with_indent::enum_with_text_field::newtype se::content::tests::with_indent::enum_with_text_field::option_none se::content::tests::with_indent::enum_with_text_field::option_some se::content::tests::with_indent::enum_with_text_field::option_some_empty_str se::content::tests::with_indent::enum_with_text_field::seq se::content::tests::with_indent::enum_with_text_field::seq_empty se::content::tests::with_indent::enum_with_text_field::str_escaped se::content::tests::with_indent::enum_with_text_field::str_non_escaped se::content::tests::with_indent::enum_with_text_field::true_ se::content::tests::with_indent::enum_with_text_field::tuple se::content::tests::with_indent::enum_with_text_field::tuple_struct se::content::tests::with_indent::enum_with_text_field::u128_ se::content::tests::with_indent::enum_with_text_field::u16_ se::content::tests::with_indent::enum_with_text_field::u32_ se::content::tests::with_indent::enum_with_text_field::u64_ se::content::tests::with_indent::enum_with_text_field::u8_ se::content::tests::with_indent::enum_with_text_field::unit se::content::tests::with_indent::enum_with_text_field::unit_struct se::content::tests::with_indent::enum_with_text_field::unit_struct_escaped se::content::tests::with_indent::enum_with_text_field::usize_ se::content::tests::with_indent::enum_with_value_field::char_amp se::content::tests::with_indent::enum_with_value_field::char_apos se::content::tests::with_indent::enum_with_value_field::char_gt se::content::tests::with_indent::enum_with_value_field::char_lt se::content::tests::with_indent::enum_with_value_field::char_non_escaped se::content::tests::with_indent::enum_with_value_field::char_quot se::content::tests::with_indent::enum_with_value_field::char_space se::content::tests::with_indent::enum_with_value_field::f32_ se::content::tests::with_indent::enum_with_value_field::f64_ se::content::tests::with_indent::enum_with_value_field::false_ se::content::tests::with_indent::enum_with_value_field::i128_ se::content::tests::with_indent::enum_with_value_field::i16_ se::content::tests::with_indent::enum_with_value_field::i32_ se::content::tests::with_indent::enum_with_value_field::i64_ se::content::tests::with_indent::enum_with_value_field::i8_ se::content::tests::with_indent::enum_with_value_field::isize_ se::content::tests::with_indent::enum_with_value_field::newtype se::content::tests::with_indent::enum_with_value_field::option_none se::content::tests::with_indent::enum_with_value_field::option_some se::content::tests::with_indent::enum_with_value_field::option_some_empty_str se::content::tests::with_indent::enum_with_value_field::seq se::content::tests::with_indent::enum_with_value_field::seq_empty se::content::tests::with_indent::enum_with_value_field::str_escaped se::content::tests::with_indent::enum_with_value_field::str_non_escaped se::content::tests::with_indent::enum_with_value_field::true_ se::content::tests::with_indent::enum_with_value_field::tuple se::content::tests::with_indent::enum_with_value_field::tuple_struct se::content::tests::with_indent::enum_with_value_field::u128_ se::content::tests::with_indent::enum_with_value_field::u16_ se::content::tests::with_indent::enum_with_value_field::u32_ se::content::tests::with_indent::enum_with_value_field::u64_ se::content::tests::with_indent::enum_with_value_field::u8_ se::content::tests::with_indent::enum_with_value_field::usize_ se::content::tests::with_indent::seq se::content::tests::with_indent::text_field::enum_struct se::content::tests::with_indent::tuple se::content::tests::with_indent::tuple_struct se::element::tests::with_indent::text_field::map::char_amp se::element::tests::with_indent::text_field::map::char_apos se::element::tests::with_indent::text_field::map::char_gt se::element::tests::with_indent::text_field::map::char_lt se::element::tests::with_indent::text_field::map::char_non_escaped se::element::tests::with_indent::text_field::map::char_quot se::element::tests::with_indent::text_field::map::char_space se::element::tests::with_indent::text_field::map::enum_unit se::element::tests::with_indent::text_field::map::enum_unit_escaped se::element::tests::with_indent::text_field::map::f32_ se::element::tests::with_indent::text_field::map::f64_ se::element::tests::with_indent::text_field::map::false_ se::element::tests::with_indent::text_field::map::i128_ se::element::tests::with_indent::text_field::map::i16_ se::element::tests::with_indent::text_field::map::i32_ se::element::tests::with_indent::text_field::map::i64_ se::element::tests::with_indent::text_field::map::i8_ se::element::tests::with_indent::text_field::map::isize_ se::element::tests::with_indent::text_field::map::newtype se::element::tests::with_indent::text_field::map::option_some se::element::tests::with_indent::text_field::map::seq se::element::tests::with_indent::text_field::map::str_escaped se::element::tests::with_indent::text_field::map::str_non_escaped se::element::tests::with_indent::text_field::map::true_ se::element::tests::with_indent::text_field::map::tuple se::element::tests::with_indent::text_field::map::tuple_struct se::element::tests::with_indent::text_field::map::u128_ se::element::tests::with_indent::text_field::map::u16_ se::element::tests::with_indent::text_field::map::u32_ se::element::tests::with_indent::text_field::map::u64_ se::element::tests::with_indent::text_field::map::u8_ se::element::tests::with_indent::text_field::map::usize_ se::element::tests::with_indent::text_field::struct_::char_amp se::element::tests::with_indent::text_field::struct_::char_apos se::element::tests::with_indent::text_field::struct_::char_gt se::element::tests::with_indent::text_field::struct_::char_lt se::element::tests::with_indent::text_field::struct_::char_non_escaped se::element::tests::with_indent::text_field::struct_::char_quot se::element::tests::with_indent::text_field::struct_::char_space se::element::tests::with_indent::text_field::struct_::enum_unit se::element::tests::with_indent::text_field::struct_::enum_unit_escaped se::element::tests::with_indent::text_field::struct_::f32_ se::element::tests::with_indent::text_field::struct_::f64_ se::element::tests::with_indent::text_field::struct_::false_ se::element::tests::with_indent::text_field::struct_::i128_ se::element::tests::with_indent::text_field::struct_::i16_ se::element::tests::with_indent::text_field::struct_::i32_ se::element::tests::with_indent::text_field::struct_::i64_ se::element::tests::with_indent::text_field::struct_::i8_ se::element::tests::with_indent::text_field::struct_::isize_ se::element::tests::with_indent::text_field::struct_::newtype se::element::tests::with_indent::text_field::struct_::option_none se::element::tests::with_indent::text_field::struct_::option_some se::element::tests::with_indent::text_field::struct_::option_some_empty_str se::element::tests::with_indent::text_field::struct_::seq se::element::tests::with_indent::text_field::struct_::seq_empty se::element::tests::with_indent::text_field::struct_::str_escaped se::element::tests::with_indent::text_field::struct_::str_non_escaped se::element::tests::with_indent::text_field::struct_::true_ se::element::tests::with_indent::text_field::struct_::tuple se::element::tests::with_indent::text_field::struct_::tuple_struct se::element::tests::with_indent::text_field::struct_::u128_ se::element::tests::with_indent::text_field::struct_::u16_ se::element::tests::with_indent::text_field::struct_::u32_ se::element::tests::with_indent::text_field::struct_::u64_ se::element::tests::with_indent::text_field::struct_::u8_ se::element::tests::with_indent::text_field::struct_::unit se::element::tests::with_indent::text_field::struct_::unit_struct se::element::tests::with_indent::text_field::struct_::unit_struct_escaped se::element::tests::with_indent::text_field::struct_::usize_ se::element::tests::with_indent::value_field::map::char_amp se::element::tests::with_indent::value_field::map::char_apos se::element::tests::with_indent::value_field::map::char_gt se::element::tests::with_indent::value_field::map::char_lt se::element::tests::with_indent::value_field::map::char_non_escaped se::element::tests::with_indent::value_field::map::char_quot se::element::tests::with_indent::value_field::map::char_space se::element::tests::with_indent::value_field::map::f32_ se::element::tests::with_indent::value_field::map::f64_ se::element::tests::with_indent::value_field::map::false_ se::element::tests::with_indent::value_field::map::i128_ se::element::tests::with_indent::value_field::map::i16_ se::element::tests::with_indent::value_field::map::i32_ se::element::tests::with_indent::value_field::map::i64_ se::element::tests::with_indent::value_field::map::i8_ se::element::tests::with_indent::value_field::map::isize_ se::element::tests::with_indent::value_field::map::newtype se::element::tests::with_indent::value_field::map::option_some se::element::tests::with_indent::value_field::map::seq se::element::tests::with_indent::value_field::map::str_escaped se::element::tests::with_indent::value_field::map::str_non_escaped se::element::tests::with_indent::value_field::map::true_ se::element::tests::with_indent::value_field::map::tuple se::element::tests::with_indent::value_field::map::tuple_struct se::element::tests::with_indent::value_field::map::u128_ se::element::tests::with_indent::value_field::map::u16_ se::element::tests::with_indent::value_field::map::u32_ se::element::tests::with_indent::value_field::map::u64_ se::element::tests::with_indent::value_field::map::u8_ se::element::tests::with_indent::value_field::map::usize_ se::element::tests::with_indent::value_field::struct_::char_amp se::element::tests::with_indent::value_field::struct_::char_apos se::element::tests::with_indent::value_field::struct_::char_gt se::element::tests::with_indent::value_field::struct_::char_lt se::element::tests::with_indent::value_field::struct_::char_non_escaped se::element::tests::with_indent::value_field::struct_::char_quot se::element::tests::with_indent::value_field::struct_::char_space se::element::tests::with_indent::value_field::struct_::f32_ se::element::tests::with_indent::value_field::struct_::f64_ se::element::tests::with_indent::value_field::struct_::false_ se::element::tests::with_indent::value_field::struct_::i128_ se::element::tests::with_indent::value_field::struct_::i16_ se::element::tests::with_indent::value_field::struct_::i32_ se::element::tests::with_indent::value_field::struct_::i64_ se::element::tests::with_indent::value_field::struct_::i8_ se::element::tests::with_indent::value_field::struct_::isize_ se::element::tests::with_indent::value_field::struct_::newtype se::element::tests::with_indent::value_field::struct_::option_none se::element::tests::with_indent::value_field::struct_::option_some se::element::tests::with_indent::value_field::struct_::option_some_empty_str se::element::tests::with_indent::value_field::struct_::seq se::element::tests::with_indent::value_field::struct_::seq_empty se::element::tests::with_indent::value_field::struct_::str_escaped se::element::tests::with_indent::value_field::struct_::str_non_escaped se::element::tests::with_indent::value_field::struct_::true_ se::element::tests::with_indent::value_field::struct_::tuple se::element::tests::with_indent::value_field::struct_::tuple_struct se::element::tests::with_indent::value_field::struct_::u128_ se::element::tests::with_indent::value_field::struct_::u16_ se::element::tests::with_indent::value_field::struct_::u32_ se::element::tests::with_indent::value_field::struct_::u64_ se::element::tests::with_indent::value_field::struct_::u8_ se::element::tests::with_indent::value_field::struct_::usize_
Configuration menu - View commit details
-
Copy full SHA for 65b9003 - Browse repository at this point
Copy the full SHA 65b9003View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbef94a - Browse repository at this point
Copy the full SHA bbef94aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac70ab5 - Browse repository at this point
Copy the full SHA ac70ab5View commit details -
Configuration menu - View commit details
-
Copy full SHA for da88af2 - Browse repository at this point
Copy the full SHA da88af2View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.