Skip to content

Commit

Permalink
fix(clippy): removes 'static lifetime from const
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Daffin committed Aug 15, 2018
1 parent cd9bcf1 commit a848dec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ const LOOP_SET_CAPACITY: u16 = 0x4C07;
//const LOOP_CTL_REMOVE: u16 = 0x4C81;
const LOOP_CTL_GET_FREE: u16 = 0x4C82;

const LOOP_CONTROL: &'static str = "/dev/loop-control";
const LOOP_PREFIX: &'static str = "/dev/loop";
const LOOP_CONTROL: &str = "/dev/loop-control";
const LOOP_PREFIX: &str = "/dev/loop";

/// Interface to the loop control device: `/dev/loop-control`.
#[derive(Debug)]
Expand Down

0 comments on commit a848dec

Please sign in to comment.