Fix unused imports (#425)
This commit is contained in:
parent
6e50e675b6
commit
9bba7d6390
4 changed files with 2 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
use comrak::{self, nodes::AstNode, Arena};
|
||||
use comrak::{nodes::AstNode, Arena};
|
||||
use docs::{
|
||||
page::{Page, COMRAK_OPTIONS},
|
||||
string_writer::StringWriter,
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
use comrak::{
|
||||
self,
|
||||
nodes::{AstNode, NodeCodeBlock, NodeHeading, NodeHtmlBlock, NodeLink, NodeValue},
|
||||
Arena,
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use maud::{self, html};
|
||||
use maud::html;
|
||||
|
||||
#[test]
|
||||
fn issue_13() {
|
||||
|
|
|
@ -2,10 +2,6 @@
|
|||
// !!!!!!!! PLEASE KEEP THIS IN SYNC WITH `maud/src/escape.rs` !!!!!!!!!
|
||||
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
use alloc::string::String;
|
||||
|
||||
pub fn escape_to_string(input: &str, output: &mut String) {
|
||||
for b in input.bytes() {
|
||||
match b {
|
||||
|
@ -20,10 +16,7 @@ pub fn escape_to_string(input: &str, output: &mut String) {
|
|||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
extern crate alloc;
|
||||
|
||||
use super::escape_to_string;
|
||||
use alloc::string::String;
|
||||
|
||||
#[test]
|
||||
fn it_works() {
|
||||
|
|
Loading…
Add table
Reference in a new issue