nixfmt_rs 0.4.1

Rust implementation of nixfmt with exact Haskell compatibility
Documentation
---
source: src/ast_format_tests.rs
description: "{inherit a;}"
---
Term
    ( Set Nothing
        ( Ann
            { preTrivia = fromList []
            , sourceLine = Pos 1
            , value = TBraceOpen
            , trailComment = Nothing
            }
        )
        [ Item
            ( Inherit
                ( Ann
                    { preTrivia = fromList []
                    , sourceLine = Pos 1
                    , value = KInherit
                    , trailComment = Nothing
                    }
                ) Nothing
                [ IDSelector
                    ( Ann
                        { preTrivia = fromList []
                        , sourceLine = Pos 1
                        , value = Identifier "a"
                        , trailComment = Nothing
                        }
                    )
                ]
                ( Ann
                    { preTrivia = fromList []
                    , sourceLine = Pos 1
                    , value = TSemicolon
                    , trailComment = Nothing
                    }
                )
            )
        ]
        ( Ann
            { preTrivia = fromList []
            , sourceLine = Pos 1
            , value = TBraceClose
            , trailComment = Nothing
            }
        )
    )