From a593390f63b14ef7ed134a5ac7a5296a745de5e6 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Sun, 25 Feb 2018 10:00:45 -0500 Subject: [PATCH] Add missing `FromStr` import for test. When I run `cargo test`, I get an error saying this trait is needed for the `JsonApiDocument::from_str` call. --- tests/validation.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/validation.rs b/tests/validation.rs index 10bc92c..7399399 100644 --- a/tests/validation.rs +++ b/tests/validation.rs @@ -6,6 +6,7 @@ mod validation_tests { use std::fs::File; use std::io::Read; use std::path::{Path, PathBuf}; + use std::str::FromStr; use rustdoc::{build, Config, Verbosity}; #[test]