Download tools/argument-comment-lint/ui/allow_self_documenting_methods.rs from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 499 Bytes
-
https://huggingface.co/SaylorTwift/codex/resolve/main/tools/argument-comment-lint/ui/allow_self_documenting_methods.rs
- Command line
-
hf download hf://SaylorTwift/codex/tools/argument-comment-lint/ui/allow_self_documenting_methods.rs
-
curl -L -o allow_self_documenting_methods.rs https://huggingface.co/SaylorTwift/codex/resolve/main/tools/argument-comment-lint/ui/allow_self_documenting_methods.rs
499 Bytes
| struct Builder; | |
| impl Builder { | |
| fn enabled(self, enabled: bool) -> Self { | |
| let _ = enabled; | |
| self | |
| } | |
| fn retry_count(self, retry_count: usize) -> Self { | |
| let _ = retry_count; | |
| self | |
| } | |
| fn base_url(self, base_url: Option<String>) -> Self { | |
| let _ = base_url; | |
| self | |
| } | |
| } | |
| fn main() { | |
| let _ = Builder.enabled(false).retry_count(3).base_url(None); | |
| } | |