mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-25 14:05:41 -05:00
Fix compiler warnings
This commit is contained in:
parent
7e9888b1f5
commit
7a1ed7b46f
1 changed files with 1 additions and 6 deletions
|
@ -92,7 +92,7 @@ pub struct Family {
|
|||
impl fmt::Display for Family {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
try!(write!(f, "{}: ", self.name));
|
||||
for (k, v) in &self.variants {
|
||||
for (k, _v) in &self.variants {
|
||||
try!(write!(f, "{}, ", k));
|
||||
}
|
||||
|
||||
|
@ -101,11 +101,6 @@ impl fmt::Display for Family {
|
|||
}
|
||||
|
||||
impl Family {
|
||||
#[inline]
|
||||
pub fn name(&self) -> &str {
|
||||
&self.name[..]
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn variants(&self) -> &HashMap<String, Variant> {
|
||||
&self.variants
|
||||
|
|
Loading…
Reference in a new issue