-
Notifications
You must be signed in to change notification settings - Fork 20
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
base: master
Are you sure you want to change the base?
Rust code #21
Conversation
impl From<std::string::FromUtf8Error> for HglibError { | ||
fn from(err: std::string::FromUtf8Error) -> HglibError { | ||
HglibError::Str(format!("Hglib error: {}", err)) | ||
} |
There was a problem hiding this comment.
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; | |||
|
There was a problem hiding this comment.
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(); | ||
} | ||
} | ||
|
There was a problem hiding this comment.
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) | ||
} |
There was a problem hiding this comment.
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)) | ||
} | ||
} | ||
|
There was a problem hiding this comment.
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)) | ||
} | ||
} |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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...
No description provided.