We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb526cf commit e87b353Copy full SHA for e87b353
src/libcore/fmt/mod.rs
@@ -787,7 +787,7 @@ impl<'a> Formatter<'a> {
787
///
788
/// impl fmt::Debug for Foo {
789
/// fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
790
- /// fnt.debug_list().entries(self.0.iter()).finish()
+ /// fmt.debug_list().entries(self.0.iter()).finish()
791
/// }
792
793
@@ -839,7 +839,7 @@ impl<'a> Formatter<'a> {
839
840
841
842
- /// fmt.debug_map().entries(self.0.iter()).finish()
+ /// fmt.debug_map().entries(self.0.iter().map(|&(ref k, ref v)| (k, v))).finish()
843
844
845
0 commit comments