]> git.lizzy.rs Git - rust.git/blobdiff - src/libgetopts/lib.rs
rollup merge of #21457: alexcrichton/issue-21436
[rust.git] / src / libgetopts / lib.rs
index 86dad55a3186f5ef1eeb6c9778c94d3b94018b5b..70f2429282b9adc1f91ffb8768e872f0677ea6be 100644 (file)
@@ -544,7 +544,7 @@ pub fn to_err_msg(self) -> String {
     }
 }
 
-impl fmt::String for Fail {
+impl fmt::Display for Fail {
     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
         match *self {
             ArgumentMissing(ref nm) => {