basic document module with Document struct and impl

This commit is contained in:
Benny Klotz 2014-10-24 15:35:22 +02:00
parent c40f52c8be
commit 5aca6df2f6

7
src/document.rs Normal file
View file

@ -0,0 +1,7 @@
pub struct Document;
impl Document {
pub fn new(path: &Path) {
println!("Creating Document from path {}", path.as_str().unwrap());
}
}