Skip to content

Commit cda8018

Browse files
committed
Allow deprecation warnings for now
1 parent 967a771 commit cda8018

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ impl Static {
3131
}
3232

3333
impl Handler for Static {
34+
#[allow(deprecated)]
3435
fn call(&self, request: &mut Request) -> Result<Response, Box<Error+Send>> {
3536
let request_path = &request.path()[1..];
3637
if request_path.contains("..") { return Ok(not_found()) }

0 commit comments

Comments
 (0)