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

Rust code #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Rust code #21

wants to merge 1 commit into from

Conversation

calixteman
Copy link

No description provided.

impl From<std::string::FromUtf8Error> for HglibError {
fn from(err: std::string::FromUtf8Error) -> HglibError {
HglibError::Str(format!("Hglib error: {}", err))
}

Choose a reason for hiding this comment

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

Nit... but... So... are you sure about this 🐼 pandas?

@@ -0,0 +1,177 @@
extern crate byteorder;
extern crate subprocess;

Choose a reason for hiding this comment

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

Henlo friend. 🦄 Are you sure about this?⚡

self.close().unwrap();
}
}

Choose a reason for hiding this comment

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

Me again, just one more nit...🌈 Meeps Meeps... this looks weird...

encoding,
};
Ok(client)
}

Choose a reason for hiding this comment

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

Henlo friend. 🦄 Woah... this old bit again... 🦄

HglibError::Str(format!("Hglib error: {}", err))
}
}

Choose a reason for hiding this comment

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

Henlo friend. 🦄 Something looks weird here. Are you sure about this? 🌈

fn from(err: std::str::Utf8Error) -> HglibError {
HglibError::Str(format!("Hglib error: {}", err))
}
}

Choose a reason for hiding this comment

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

Hrmmm... Woah... this old bit again... 🦄


pub struct Client {
server: Popen,
encoding: String,

Choose a reason for hiding this comment

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

Nit... but... Meeps Meeps... this looks weird...

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