about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorHiroshi Kori <hiroshi.maybe@gmail.com>2021-12-26 16:03:17 -0800
committerHiroshi Kori <hiroshi.maybe@gmail.com>2021-12-26 17:44:53 -0800
commit7ddad349b188c9ae29ca63baf5fb1d5dfbe2d0bb (patch)
treea32fc3bb3db828969780fd3209cd9eb774846007 /library/std/src
parentf8abed9ed48bace6be0087bcd44ed534e239b8d8 (diff)
downloadrust-7ddad349b188c9ae29ca63baf5fb1d5dfbe2d0bb.tar.gz
rust-7ddad349b188c9ae29ca63baf5fb1d5dfbe2d0bb.zip
fix typo: the use f.pad -> then use f.pad
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/net/ip.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/net/ip.rs b/library/std/src/net/ip.rs
index da95fe21ac9..4029125a375 100644
--- a/library/std/src/net/ip.rs
+++ b/library/std/src/net/ip.rs
@@ -1826,7 +1826,7 @@ impl fmt::Display for Ipv6Addr {
                 }
             }
         } else {
-            // Slow path: write the address to a local buffer, the use f.pad.
+            // Slow path: write the address to a local buffer, then use f.pad.
             // Defined recursively by using the fast path to write to the
             // buffer.