diff options
author | Melody Horn <melody@boringcactus.com> | 2021-04-02 22:30:42 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-04-02 22:30:42 -0600 |
commit | 067e0c9d07ccb2a3b3bba8586759e33f0f58e42d (patch) | |
tree | c150f3efcc80737b0e0c19dd7ea0f5d61cd31587 /src/makefile/token.rs | |
parent | 50b6d0f63329900ed9e6730096a293aebd44e452 (diff) | |
download | makers-067e0c9d07ccb2a3b3bba8586759e33f0f58e42d.tar.gz makers-067e0c9d07ccb2a3b3bba8586759e33f0f58e42d.zip |
appease the mighty paperclip
Diffstat (limited to 'src/makefile/token.rs')
-rw-r--r-- | src/makefile/token.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile/token.rs b/src/makefile/token.rs index 5984901..18a1773 100644 --- a/src/makefile/token.rs +++ b/src/makefile/token.rs @@ -23,7 +23,7 @@ impl<'a, T: 'a + ParseError<&'a str> + ContextError<&'a str>> Err<'a> for T {} pub struct TokenString(Vec<Token>); impl TokenString { - pub fn empty() -> Self { + pub const fn empty() -> Self { Self(vec![]) } |