Skip to content

[TM-323] Add `cutLorentzNonDoc`

Konstantin Ivanov requested to merge martoon/tm323-cut-non-doc into master

Description

Problem: sometimes we need a piece of code to inherit documentation of another piece of code, but semantics of the former is achieved in alternative way (e.g. comes from outer lambda).

Solution: contract code still seems to be the most natural building block for documentation, thus I just add a function to cut all instructions except for documentation-related ones.

Related issue(s)

https://issues.serokell.io/issue/TM-323

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:

Stylistic guide (mandatory)

Edited by Konstantin Ivanov

Merge request reports