-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Clarify semantics of File::try_clone() #46578
Copy link
Copy link
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsP-mediumMedium priorityMedium priority
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsP-mediumMedium priorityMedium priority
Type
Fields
Give feedbackNo fields configured for issues without a type.
File::try_clone()could be clearer about how the duplicated file cursors behave. It currently says:I think it could be much clearer about how reads, writes, and seeks will affect both handles.