rustfmt
This commit is contained in:
parent
6471ce8f29
commit
55ca402644
@ -1,13 +1,13 @@
|
||||
use std::collections::BTreeMap;
|
||||
use std::convert::TryInto;
|
||||
|
||||
use num_rational::BigRational;
|
||||
use num_bigint::BigInt;
|
||||
use num_rational::BigRational;
|
||||
|
||||
use super::Builtin;
|
||||
use crate::color::Color;
|
||||
use crate::value::Value;
|
||||
use crate::units::Unit;
|
||||
use crate::value::Value;
|
||||
|
||||
pub(crate) fn register(f: &mut BTreeMap<String, Builtin>) {
|
||||
decl!(f "rgb", |args| {
|
||||
|
@ -55,9 +55,9 @@ impl<'a> Iterator for Lexer<'a> {
|
||||
self.pos.next_char();
|
||||
TokenKind::Op(Op::Equal)
|
||||
}
|
||||
_ => TokenKind::Symbol(Symbol::Equal)
|
||||
_ => TokenKind::Symbol(Symbol::Equal),
|
||||
}
|
||||
}
|
||||
},
|
||||
'?' => symbol!(self, QuestionMark),
|
||||
'\\' => symbol!(self, BackSlash),
|
||||
'~' => symbol!(self, Tilde),
|
||||
|
Loading…
x
Reference in New Issue
Block a user