Skip to content

Commit

Permalink
[args.rs] Suppress a linter warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Feb 7, 2025
1 parent 1bef98c commit 65b32a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefiles/rust.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ build-rust:
lint-rust:
cargo clippy -- --deny warnings
cargo fmt --check
cargo doc

.PHONY: format-rust
format-rust:
Expand Down
1 change: 1 addition & 0 deletions src/rs/_internal/cli/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ pub struct TwsearchArgs {
pub enum CliCommand {
/// Run a single search.
Search(SearchCommandArgs),
#[allow(rustdoc::bare_urls)] // The URL is not for Rust docs, it is printed to the comandline by `clap` (which does not remove brackets around URLs).
/// Run a search server.
/// Use with: https://experiments.cubing.net/cubing.js/twsearch/text-ui.html
Serve(ServeCommandArgs),
Expand Down

0 comments on commit 65b32a4

Please sign in to comment.