Docs.rs
oag-core-0.5.0
oag-core 0.5.0
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
urmzd
Dependencies
heck ^0.5
normal
indexmap ^2
normal
log ^0.4
normal
serde ^1
normal
serde_json ^1
normal
serde_yaml_ng ^0.10
normal
thiserror ^2
normal
insta ^1
dev
Versions
24.35%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
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
normalize_generated
oag_
core
0.5.0
oag_core
Function
normalize_
generated
Copy item path
Source
pub fn normalize_generated(content: &
str
) ->
String
Expand description
Normalize whitespace in generated code:
Collapse 3+ consecutive newlines into 2 (max one blank line)
Ensure trailing newline