diff options
Diffstat (limited to 'src/makefile')
| -rw-r--r-- | src/makefile/token.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/makefile/token.rs b/src/makefile/token.rs index 2f90f50..05ad98c 100644 --- a/src/makefile/token.rs +++ b/src/makefile/token.rs @@ -87,9 +87,9 @@ impl TokenString {          }      } -    pub fn strip_prefix(&mut self, suffix: &str) { +    pub fn strip_prefix(&mut self, prefix: &str) {          if let Some(Token::Text(t)) = self.0.first_mut() { -            if let Some(x) = t.strip_prefix(suffix) { +            if let Some(x) = t.strip_prefix(prefix) {                  *t = x.into()              }          } |