about summary refs log tree commit diff
path: root/clippy_dev/src/serve.rs
diff options
context:
space:
mode:
Diffstat (limited to 'clippy_dev/src/serve.rs')
-rw-r--r--clippy_dev/src/serve.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_dev/src/serve.rs b/clippy_dev/src/serve.rs
index d55b1a354d0..f15f24da946 100644
--- a/clippy_dev/src/serve.rs
+++ b/clippy_dev/src/serve.rs
@@ -8,7 +8,7 @@ use std::time::{Duration, SystemTime};
 /// # Panics
 ///
 /// Panics if the python commands could not be spawned
-pub fn run(port: u16, lint: Option<&str>) -> ! {
+pub fn run(port: u16, lint: Option<&String>) -> ! {
     let mut url = Some(match lint {
         None => format!("http://localhost:{}", port),
         Some(lint) => format!("http://localhost:{}/#{}", port, lint),