-
Notifications
You must be signed in to change notification settings - Fork 229
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
Replace Path with AsRef<Path> in Watcher functions #25
Conversation
I've wondered how to do that... thank you very much for this :) |
No problem :) |
Hmm, I just realized that by removing the |
That should be it. |
Awesome :) I'll merge after work |
Replace Path with AsRef<Path> in Watcher functions
@passcod, sorry to bring this up again, but I think I was wrong with the last change I made (commit So I think commit |
Done in 3340d74. |
This should be a non-breaking change and it removes the need to call
Path::new
when callingwatch
orunwatch
. This meanswatcher.watch("/tmp/foo")
is now valid.