mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 12:41:30 +11:00
From typo in comment
This commit is contained in:
parent
033870d91e
commit
6612b7a8ef
|
@ -121,7 +121,7 @@ impl Encoding {
|
||||||
|
|
||||||
/// Encodes a transform.
|
/// Encodes a transform.
|
||||||
///
|
///
|
||||||
/// If the given transform is different from the current one, encodes it an
|
/// If the given transform is different from the current one, encodes it and
|
||||||
/// returns true. Otherwise, encodes nothing and returns false.
|
/// returns true. Otherwise, encodes nothing and returns false.
|
||||||
pub fn encode_transform(&mut self, transform: Transform) -> bool {
|
pub fn encode_transform(&mut self, transform: Transform) -> bool {
|
||||||
if self.transforms.last() != Some(&transform) {
|
if self.transforms.last() != Some(&transform) {
|
||||||
|
|
Loading…
Reference in a new issue