aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface/reporter.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-09-02 10:09:59 +0200
committerSimon Sapin <simon.sapin@exyr.org>2017-09-02 10:15:36 +0200
commit17aa04b7124657aae83a1a4c0e842519b85c0002 (patch)
tree932a870c91d5d6dce97f005aa00119fdf6e190b1 /components/script_layout_interface/reporter.rs
parentf6d20e646121f78ea08da2c0f36cf1626380ee77 (diff)
downloadservo-17aa04b7124657aae83a1a4c0e842519b85c0002.tar.gz
servo-17aa04b7124657aae83a1a4c0e842519b85c0002.zip
Remove uses of `format!` in components/style/error_reporting.rs
Diffstat (limited to 'components/script_layout_interface/reporter.rs')
-rw-r--r--components/script_layout_interface/reporter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_layout_interface/reporter.rs b/components/script_layout_interface/reporter.rs
index ac5706f5116..7f5acfef8c1 100644
--- a/components/script_layout_interface/reporter.rs
+++ b/components/script_layout_interface/reporter.rs
@@ -31,7 +31,7 @@ impl ParseErrorReporter for CSSErrorReporter {
url.as_str(),
location.line,
location.column,
- error.to_string())
+ error)
}
//TODO: report a real filename