Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV committed Oct 30, 2024
1 parent 803ef27 commit 8af675d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/font.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::marker::PhantomData;
use crate::buf::Buf;
use std::marker::PhantomData;

use super::*;

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ pub mod types {
}

pub use self::buf::{Buf, Limits};
pub use self::chunk::{Chunk};
pub use self::chunk::Chunk;
pub use self::content::Content;
pub use self::object::{
Array, Date, Dict, Filter, Finish, Name, Null, Obj, Primitive, Rect, Ref, Rewrite,
Expand Down
8 changes: 6 additions & 2 deletions src/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,12 @@ impl Primitive for Date {
if utc_offset_hour == 0 && self.utc_offset_minute == 0 {
buf.push(b'Z');
} else {
write!(buf.inner, "{:+03}'{:02}", utc_offset_hour, self.utc_offset_minute)
.unwrap();
write!(
buf.inner,
"{:+03}'{:02}",
utc_offset_hour, self.utc_offset_minute
)
.unwrap();
}
Some(())
})();
Expand Down

0 comments on commit 8af675d

Please sign in to comment.