~gbmor/clinte

5d46c86e08313f76b1e40ccca2cb8705f84eba33 — Benjamin Morrison 2 years ago 91b0ee7
fix moved val compile error
1 files changed, 1 insertions(+), 1 deletions(-)

M src/posts.rs
M src/posts.rs => src/posts.rs +1 -1
@@ 129,7 129,7 @@ pub fn display() -> error::Result<()> {
    {
        let homedir = env::var("HOME")?;
        let localdest = format!("{}/.clinte.json", homedir);
        fs::copy(db::PATH, localdest)?;
        fs::copy(db::PATH, localdest.clone())?;
        let mut perms = fs::metadata(&localdest)?.permissions();
        perms.set_mode(0o644);
    }