Skip to content

Commit

Permalink
docs: Document error (#646) (#647)
Browse files Browse the repository at this point in the history
Add documentation on how a method may fail. This addresses a clippy
lint.
  • Loading branch information
afnanenayet authored May 28, 2023
1 parent 8a10808 commit e21377b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 34 deletions.
59 changes: 28 additions & 31 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ serde = { version = "1.0.163", features = ["derive"] }
serde_json = "1.0.96"
json5 = "0.4.1"
pretty_env_logger = "0.5.0"
log = { version = "0.4.17", features = ["std"] }
log = { version = "0.4.18", features = ["std"] }
thiserror = "1.0.40"
logging_timer = "1.1.0"
jemallocator = { version = "0.5.0", optional = true }
libloading = "0.8.0"
unicode-segmentation = "1.10.1"
human-panic = "1.1.4"
shadow-rs = { version = "0.21.0", optional = true }
shadow-rs = { version = "0.22.0", optional = true }
enum_dispatch = "0.3.11"

[dev-dependencies]
Expand Down Expand Up @@ -97,7 +97,7 @@ anyhow = "1.0.71"
cargo-emit = "0.2.1"
rayon = "1.7.0"
thiserror = "1.0.40"
shadow-rs = { version = "0.21.0", optional = true }
shadow-rs = { version = "0.22.0", optional = true }

[features]
default = ["static-grammar-libs"]
Expand Down

0 comments on commit e21377b

Please # to comment.