Docs.rs
amont-runtime-1.5.0
amont-runtime 1.5.0
Docs.rs crate page
MIT
10 August 2026
Links
Repository
crates.io
Source
Owners
fredericrous
Dependencies
Versions
60.92%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
strip_comments
amont_
runtime
1.5.0
In amont_
runtime::
hooks::
commit_
msg
amont_runtime
::
hooks
::
commit_msg
Function
strip_
comments
Copy item path
Source
pub fn strip_comments(msg: &
str
) ->
String
Expand description
Drop full-line comments, as git itself does.