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/08/30 21:14:00 UTC
[jira] [Commented] (THRIFT-5606) Wrong indent for const double
[ https://issues.apache.org/jira/browse/THRIFT-5606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17598077#comment-17598077 ]
Jens Geyer commented on THRIFT-5606:
------------------------------------
If it is trvial to provide a patch, please do.,
> 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
> Priority: Major
>
> 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)