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

Update stellar-xdr #1272

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Update stellar-xdr #1272

merged 1 commit into from
Dec 1, 2023

Conversation

leighmcculloch
Copy link
Member

What

Update stellar-xdr.

Why

I made changes to it.

@leighmcculloch leighmcculloch marked this pull request as ready for review December 1, 2023 16:46
host.visit_obj(s, |st: &ScString| Ok(st.0.to_string_lossy()))
host.visit_obj(s, |st: &ScString| Ok(st.0.to_string()))
Copy link
Member Author

Choose a reason for hiding this comment

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

I changed this fn to use the non-lossy-bytes-preserved-via-escaping to_string() method. That seems most appropriate in a test. If we wanted to keep using a utf-8 lossy method though, we'd use .to_utf8_string_lossy() instead now.

@leighmcculloch leighmcculloch added this pull request to the merge queue Dec 1, 2023
Merged via the queue into main with commit 0852f64 Dec 1, 2023
10 checks passed
@leighmcculloch leighmcculloch deleted the updxdrx branch December 1, 2023 17:39
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