You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These modules provide universal implementation of the parser combinators. Meanwhile, complete and streaming submodules provide the particular implementations, which might potentially be different from universal (implemented manually/inlined), rather than reference a universal implementation.
Therefore, the doc tests neither perform checks of the universal implementations, nor they show how to use the universal implementation.
The text was updated successfully, but these errors were encountered:
DanikVitek
changed the title
doc: doc-tests in bytes/mod.rs, character/mod.rs, and number/mod.rs should not reference functions from submodules
doc: doc-tests in bytes/mod.rs and character/mod.rs should not reference functions from submodules
Mar 5, 2025
Uh oh!
There was an error while loading. Please reload this page.
These modules provide universal implementation of the parser combinators. Meanwhile,
complete
andstreaming
submodules provide the particular implementations, which might potentially be different from universal (implemented manually/inlined), rather than reference a universal implementation.Therefore, the doc tests neither perform checks of the universal implementations, nor they show how to use the universal implementation.
For instance:
nom/src/bytes/mod.rs
Line 34 in a44b52e
nom/src/bytes/mod.rs
Line 102 in a44b52e
nom/src/character/mod.rs
Line 90 in a44b52e
nom/src/character/mod.rs
Line 147 in a44b52e
The text was updated successfully, but these errors were encountered: