mirror of
https://github.com/cobalt-org/cobalt.rs
synced 2024-11-12 23:17:08 +00:00
basic document module with Document struct and impl
This commit is contained in:
parent
c40f52c8be
commit
5aca6df2f6
1 changed files with 7 additions and 0 deletions
7
src/document.rs
Normal file
7
src/document.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
pub struct Document;
|
||||
|
||||
impl Document {
|
||||
pub fn new(path: &Path) {
|
||||
println!("Creating Document from path {}", path.as_str().unwrap());
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue