Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to construct ReedlineError values from the outside #676

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

ClementNerma
Copy link
Contributor

@ClementNerma ClementNerma commented Dec 5, 2023

This PR allows to build a custom History, which requires returning Reedline<_, ReedlineError> values ; the problem being that ReedlineError values aren't currently constructable from outside of the reedline crate itself.

This will require to carefully craft the variants once we decide to publish the 1.0 version

Copy link

codecov bot commented Dec 5, 2023

Codecov Report

Merging #676 (83df441) into main (37714c9) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #676   +/-   ##
=======================================
  Coverage   49.16%   49.16%           
=======================================
  Files          46       46           
  Lines        7926     7926           
=======================================
  Hits         3897     3897           
  Misses       4029     4029           
Files Coverage Δ
src/result.rs 0.00% <ø> (ø)

@fdncred fdncred merged commit 07b7f6b into nushell:main Dec 6, 2023
8 checks passed
@fdncred
Copy link
Collaborator

fdncred commented Dec 6, 2023

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants