Commit Graph
3 Commits
Author SHA1 Message Date
Mikko Lehtonen 78e4cd5dbc Remove AsDisplay trait in error formatting 2021-08-03 11:51:52 -04:00
Mikko Lehtonen 019dca3cfa Error formatting impls closer to errors
This is achieved by making a ErrorFormatter helper that is passed to
fmt_pretty, making the impls a lot simpler.
2021-08-03 11:51:52 -04:00
Mikko Lehtonen e4cdddc639 Move error formatting to wgpu-core 2021-08-03 11:51:52 -04:00