Skip to content
This repository was archived by the owner on Oct 10, 2019. It is now read-only.

Commit 98a3ab2

Browse files
authored
Merge pull request #6 from bfrog/missing_std_fix
fix: fixes compile error for missing std
2 parents ca19f53 + 4e34bab commit 98a3ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fromsql.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fn enum_body(ident: &Ident, variants: &[Variant]) -> Tokens {
5959
let variant_idents = variants.iter().map(|v| &v.ident);
6060

6161
quote! {
62-
match std::str::from_utf8(buf)? {
62+
match ::std::str::from_utf8(buf)? {
6363
#(
6464
#variant_names => ::std::result::Result::Ok(#idents::#variant_idents),
6565
)*

0 commit comments

Comments
 (0)