Skip to content

Instantly share code, notes, and snippets.

Forked from anonymous/
Last active Aug 29, 2015
What would you like to do?
pub struct Brick {
pub peer: Peer,
pub path: Path,
use std::fmt;
impl fmt::Display for Brick {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "{}:{}", self.peer.hostname, self.path.display())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment