Skip to content
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

Update to inotify 0.2 #49

Closed
passcod opened this issue Jan 22, 2016 · 1 comment
Closed

Update to inotify 0.2 #49

passcod opened this issue Jan 22, 2016 · 1 comment

Comments

@passcod
Copy link
Member

passcod commented Jan 22, 2016

With 0.1, we build. With 0.2, we don't:

   Compiling notify v2.5.4 (file:///home/code/rust/notify)
src/inotify/mod.rs:76:17: 76:21 error: cannot move out of borrowed content [E0507]
src/inotify/mod.rs:76         let _ = self.inotify.close();
                                      ^~~~
error: aborting due to previous error
Could not compile `notify`.
@julienw
Copy link
Contributor

julienw commented Jun 3, 2016

I think it makes sense that close takes ownership over the object, so that it can't be used anymore after this.

@passcod passcod closed this as completed in bd740bb Jun 4, 2016
passcod added a commit that referenced this issue Jun 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants