]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/seastar/fmt/doc/index.rst
import ceph 14.2.5
[ceph.git] / ceph / src / seastar / fmt / doc / index.rst
index 17d6b4bb5521255cd19e717ac5edafcefc96bed6..a8dc05e5518a222b559047a6cc01a3a8867688b3 100644 (file)
@@ -40,7 +40,7 @@ The ``fmt::format`` function returns a string "The answer is 42.". You can use
   format_to(out, "For a moment, {} happened.", "nothing");
   out.data(); // returns a pointer to the formatted data
 
-The ``fmt::print`` function performs formatting and writes the result to a file:
+The ``fmt::print`` function performs formatting and writes the result to a stream:
 
 .. code:: c++
 
@@ -94,7 +94,7 @@ Safety
 
 The library is fully type safe, automatic memory management prevents buffer
 overflow, errors in format strings are reported using exceptions or at compile
-tim. For example, the code
+time. For example, the code
 
 .. code:: c++