Skip to content

Convert bytes to new args style #759

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

Merged
merged 5 commits into from
Mar 30, 2019
Merged

Convert bytes to new args style #759

merged 5 commits into from
Mar 30, 2019

Conversation

OddCoincidence
Copy link
Contributor

No description provided.

}
fn repr(self, _vm: &VirtualMachine) -> String {
// TODO: don't just unwrap
let data = String::from_utf8(self.value.clone()).unwrap();
Copy link
Member

@coolreader18 coolreader18 Mar 28, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'd need a UnicodeDecodeError class for this, eventually.

@codecov-io
Copy link

Codecov Report

Merging #759 into master will increase coverage by 0.04%.
The diff coverage is 75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #759      +/-   ##
==========================================
+ Coverage   61.95%   61.99%   +0.04%     
==========================================
  Files          80       80              
  Lines       12708    12686      -22     
  Branches     2606     2607       +1     
==========================================
- Hits         7873     7865       -8     
+ Misses       3165     3158       -7     
+ Partials     1670     1663       -7
Impacted Files Coverage Δ
vm/src/obj/objbytes.rs 73.91% <75%> (+7.24%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c5c9181...c2d04f9. Read the comment docs.

@OddCoincidence OddCoincidence merged commit cb0b6a8 into master Mar 30, 2019
@OddCoincidence OddCoincidence deleted the joey/convert-bytes branch April 9, 2019 20:34
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.

4 participants