You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #147: Rename EncodeError::Write variant to Fmt
3e729c3 Rename EncodeError::Write variant to Fmt (Tobin C. Harding)
Pull request description:
We typically refer to a "fmt" being an object that implements `fmt::Write` e.g, `encode_to_fmt()`.
Currently we are using the variant name `Write` for an error variant that holds a `fmt::Error`, while this is correct in a way it is also confusing because we may one day have an `io::Error` (coming from a `io::Write` writer).
Use `EncodeError::Fmt` instead of `Write`.
ACKs for top commit:
apoelstra:
ACK 3e729c3
Tree-SHA512: 35073fe871830a15762e541547ef7e0fcbd18ef6aabe0bdd84a0c6bfadea65eb345482f6c0275f3497a30ae2c994454a18a29e22386cb94b67a6fe735a9d8ff5
0 commit comments