diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c5b9ed4..0000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -language: rust -rust: - - 1.32.0 - - stable - - beta - - nightly -jobs: - allow_failures: - - rust: nightly - fast_finish: true -script: - - cd "${TRAVIS_BUILD_DIR}/schemars" - - cargo check --verbose --no-default-features - - cargo build --verbose --all-features - - cargo test --verbose --all-features --no-fail-fast diff --git a/docs/_includes/examples/custom_settings.rs b/docs/_includes/examples/custom_settings.rs index 629c867..8c90980 100644 --- a/docs/_includes/examples/custom_settings.rs +++ b/docs/_includes/examples/custom_settings.rs @@ -22,6 +22,6 @@ fn main() { ..SchemaSettings::draft07() }; let gen = settings.into_generator(); - let schema = gen.into_root_schema_for::();; + let schema = gen.into_root_schema_for::(); println!("{}", serde_json::to_string_pretty(&schema).unwrap()); } diff --git a/schemars/examples/custom_settings.rs b/schemars/examples/custom_settings.rs index 629c867..8c90980 100644 --- a/schemars/examples/custom_settings.rs +++ b/schemars/examples/custom_settings.rs @@ -22,6 +22,6 @@ fn main() { ..SchemaSettings::draft07() }; let gen = settings.into_generator(); - let schema = gen.into_root_schema_for::();; + let schema = gen.into_root_schema_for::(); println!("{}", serde_json::to_string_pretty(&schema).unwrap()); }