Skip to content

Commit

Permalink
fix: remove doc test and bump to v0.12.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Enter-tainer committed Nov 24, 2024
1 parent 72b9306 commit 8f3b537
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.12.3 - [2024-11-24]

- Fix doc test failure that prevents nixpkgs from building typstyle.

## v0.12.2 - [2024-11-23]

Introducing new contributor: @QuadnucYard. Welcome! 🎉
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "typstyle"
version = "0.12.2"
version = "0.12.3"
edition = "2021"
authors = ["Wenzhuo Liu"]
license = "Apache-2.0"
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ impl Typstyle {
/// use typstyle_core::Typstyle;
/// let content = "#{1+1}";
/// let res = Typstyle::new_with_content(content.to_string(), 80).pretty_print();
/// assert_eq!(res, "#{\n 1 + 1\n}");
/// ```
pub fn new_with_content(content: String, width: usize) -> Self {
let root = typst_syntax::parse(&content);
Expand Down

0 comments on commit 8f3b537

Please sign in to comment.