Repository navigation
doc: added addtional docs for Write - #164527
Conversation
|
r? @JohnTitor rustbot has assigned @JohnTitor. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Hey, there maintainer. Hope you are doing great. Just hit me up if any suggestions. |
| /// | ||
| /// Writes some formatted information into this instance. | ||
| /// | ||
| /// The formatted output is appended to this formatter's current output; |
There was a problem hiding this comment.
This isn't true, it delegates to the underlying writer, which may overwrite earlier output. See the implementation, it calls self.buf.write_str(s) and buf is a mutable reference of an underlying writer.
There was a problem hiding this comment.
update, please check!
|
@bors squash |
This comment has been minimized.
This comment has been minimized.
* doc: added addtional docs for Write Signed-off-by: Gauravpawar101 <Gauravpawar2522@gmail.com> * fix: correct docs for fmt write Signed-off-by: Gauravpawar101 <Gauravpawar2522@gmail.com> * doc: edit string.rs fmt docs
|
🔨 3 commits were squashed into c58d7ba. |
e097c85 to
c58d7ba
Compare
|
📌 Commit c58d7ba has been tentatively approved by It will be put into the queue for this repository once PR CI succeeds. 🌲 The tree is currently closed for pull requests below priority 5. This pull request will be tested once the tree is reopened. Reason for tree closure: |
…=JohnTitor doc: added addtional docs for Write ## Changes - Added docs for `Write` with example. Close rust-lang#164466
…uwer Rollup of 13 pull requests Successful merges: - #162460 (Feat - `#[inline(always)] + #[target_feature(enable = "....")]` #2) - #163485 (`rustc_builtin_macros` cleanup, part 8) - #164457 (Add `vec_visualizer` lldb test) - #161253 (Implement `AsMut<T>` and `AsRef<T>` for `!`.) - #162369 (Document the `recursion_limit` built-in attribute) - #162840 (tier 3 target policy: target CPU and features must be supported by upstream backend) - #164329 (use default_field_values in declare_lint) - #164330 (Skip redundant monomorphization checks) - #164527 (doc: added addtional docs for Write) - #164656 (stabilize ExitCodeExt for Windows) - #164660 (Touch up attribute docs) - #164681 (tidy: use repository-relative path for style checks) - #164688 (re-enable test_dir_remove_dir test on QNX)
Changes
Writewith example.Close #164466