Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

refactor: use retain for error messages #872

Merged
merged 3 commits into from
Aug 2, 2023
Merged

Conversation

Oppen
Copy link
Contributor

@Oppen Oppen commented Jul 31, 2023

Simplifies a little bit the extraction of error messages in to_cairo_runner_program.
It saves a potentially big allocation in the process, but performance changes are likely negligible.

Checklist

  • Linked to Github Issue
  • Unit tests added
  • Integration tests added.
  • This change requires new documentation.
    • Documentation has been added/updated.

@Oppen Oppen force-pushed the refactor/retain_error_msgs branch from 5a57aba to f682898 Compare July 31, 2023 21:31
@codecov-commenter
Copy link

Codecov Report

Merging #872 (3328fd0) into main (4bd008e) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #872      +/-   ##
==========================================
- Coverage   91.21%   91.21%   -0.01%     
==========================================
  Files          54       54              
  Lines       13402    13400       -2     
==========================================
- Hits        12225    12223       -2     
  Misses       1177     1177              
Files Changed Coverage Δ
.../api/contract_classes/deprecated_contract_class.rs 82.90% <100.00%> (-0.11%) ⬇️

@xqft xqft enabled auto-merge August 2, 2023 14:37
@xqft xqft added this pull request to the merge queue Aug 2, 2023
Merged via the queue into main with commit fce76b0 Aug 2, 2023
@juanbono juanbono deleted the refactor/retain_error_msgs branch August 2, 2023 20:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants