We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bffae0 commit c3cb0eaCopy full SHA for c3cb0ea
core/src/error.rs
@@ -2,7 +2,7 @@
2
#![stable(feature = "error_in_core", since = "1.81.0")]
3
4
use crate::any::TypeId;
5
-use crate::fmt::{Debug, Display, Formatter, Result};
+use crate::fmt::{self, Debug, Display, Formatter};
6
7
/// `Error` is a trait representing the basic expectations for error values,
8
/// i.e., values of type `E` in [`Result<T, E>`].
@@ -857,7 +857,7 @@ impl<'a> Request<'a> {
857
858
#[unstable(feature = "error_generic_member_access", issue = "99301")]
859
impl<'a> Debug for Request<'a> {
860
- fn fmt(&self, f: &mut Formatter<'_>) -> Result {
+ fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
861
f.debug_struct("Request").finish_non_exhaustive()
862
}
863
0 commit comments