You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently updated to iron 0.6, so I updated mount to 0.4 and staticfile to 0.5, and now it won't compile with the following error:
the trait for<'r, 'r, 'r> std::ops::Fn<(&'r mut iron::Request<'r, 'r>,)> is not implemented for staticfile::Static required because of the requirements on the impl of iron::Handler for staticfile::Static
I recently updated to iron 0.6, so I updated mount to 0.4 and staticfile to 0.5, and now it won't compile with the following error:
the trait for<'r, 'r, 'r> std::ops::Fn<(&'r mut iron::Request<'r, 'r>,)> is not implemented for staticfile::Static
required because of the requirements on the impl of iron::Handler for staticfile::Static
on this line:
mount.mount(prefix, Static::new(Path::new(path)));
The text was updated successfully, but these errors were encountered: