From fb2f5853ad9823a6aa8018a2e5d5b96f9b34dbd5 Mon Sep 17 00:00:00 2001 From: Pierre-Henri Symoneaux Date: Sun, 25 Aug 2019 12:52:52 +0200 Subject: Updated to rust 2018 --- examples/formatting.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples/formatting.rs') diff --git a/examples/formatting.rs b/examples/formatting.rs index 7822866..e6e9aa0 100644 --- a/examples/formatting.rs +++ b/examples/formatting.rs @@ -1,6 +1,4 @@ -#[macro_use] -extern crate prettytable; -use prettytable::format; +use prettytable::{format, table, row}; fn main() { let mut table = table!(["Value 1", "Value 2"], ["Value three", "Value four"]); -- cgit v1.2.3