Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-11028

[Rust] Somewhat pedantic pattern-matches

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0
    • Rust

    Description

      Several pattern matches can be rewritten directly using a combinator on either `Option` or `Result`, in a  manner similar to ARROW-7692. The pattern-match equivalent often takes a lot more real estate ton convey the same meaning, especially since the combinators in question (`flat_map`, `map`, et al.) are defined in the same way across languages (Scala, Python ...).

      Attachments

        Issue Links

          Activity

            People

              huitseeker François Garillot
              huitseeker François Garillot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m