Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5606

Wrong indent for const double

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.16.0
    • 0.18.0
    • Rust - Compiler
    • None

    Description

      The indentation of generated code for const douban is wrong.

      pub struct ConstTESTINDENT;
      impl ConstTESTINDENT {
        pub fn const_value() -> OrderedFloat<f64> {
      OrderedFloat::from(3.14159_f64)  }
      }
      

      Attachments

        Activity

          People

            tdxdxoz Z Yn
            tdxdxoz Z Yn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: