You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2022/09/01 20:08:00 UTC

[jira] [Resolved] (THRIFT-5606) Wrong indent for const double

     [ https://issues.apache.org/jira/browse/THRIFT-5606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer resolved THRIFT-5606.
--------------------------------
    Fix Version/s: 0.18.0
         Assignee: Z Yn
       Resolution: Fixed

> Wrong indent for const double
> -----------------------------
>
>                 Key: THRIFT-5606
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5606
>             Project: Thrift
>          Issue Type: Bug
>          Components: Rust - Compiler
>    Affects Versions: 0.16.0
>            Reporter: Z Yn
>            Assignee: Z Yn
>            Priority: Major
>             Fix For: 0.18.0
>
>
> The indentation of generated code for const douban is wrong.
> {code}
> pub struct ConstTESTINDENT;
> impl ConstTESTINDENT {
>   pub fn const_value() -> OrderedFloat<f64> {
> OrderedFloat::from(3.14159_f64)  }
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)