Remove description implementation for std::error::Error #6555
Labels
Focus: CLI
Related to the Habitat CLI (core/hab) component
Focus:Exporter
Focus:Launcher
Related to the Habitat Launcher (core/hab-launcher) component
Focus:Supervisor
Related to the Habitat Supervisor (core/hab-sup) component
Type: Chore
Issues for general code and infrastructure maintenance
Type:Technical Debt
No functional changes; just about cleaning up and reorganizing
The
description
function for thestd::error::Error
trait has been "soft-deprecated".Historically, this implementation has always been a bit "noisy" in our codebase, since it largely duplicates the
Display
trait implementation for our error types.The docs say that we no longer need to implement
description
, and should favor implementingDisplay
on new types. Since we already do the latter, we should now to the former and remove alldescription
implementations in all the crates of this repository.The text was updated successfully, but these errors were encountered: