Fix confusing #[path] usage and re-exports in lib.rs

This has effectively the same behaviour now with fewer lines, less
confusion and fewer compiler warnings about unused code.
This commit is contained in:
Sebastian Dröge 2021-11-17 19:32:24 +02:00
parent 4e6ac58d0c
commit 5500166f74
2 changed files with 0 additions and 4 deletions

View file

@ -1,7 +1,5 @@
#[path = "playlist.rs"]
pub mod playlist; pub mod playlist;
#[path = "parser.rs"]
#[cfg(feature = "parser")] #[cfg(feature = "parser")]
mod parser; mod parser;

View file

@ -74,8 +74,6 @@
//! //!
//! ``` //! ```
pub mod playlist;
use nom::branch::alt; use nom::branch::alt;
use nom::bytes::complete::{is_a, is_not, tag, take, take_until, take_while1}; use nom::bytes::complete::{is_a, is_not, tag, take, take_until, take_while1};
use nom::character::complete::{ use nom::character::complete::{