mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
changed tabs to spaces
This commit is contained in:
parent
9fa355c26a
commit
05f46a852d
1 changed files with 4 additions and 4 deletions
|
@ -3333,11 +3333,11 @@ import std.stdio, std.file;
|
|||
|
||||
void main()
|
||||
{
|
||||
auto file_handle = File(deleteme, "w");
|
||||
file_handle.write("abc"); //create temporary file
|
||||
scope(exit) deleteme.remove; //remove temporary file at scope exit
|
||||
auto file_handle = File(deleteme, "w");
|
||||
file_handle.write("abc"); //create temporary file
|
||||
scope(exit) deleteme.remove; //remove temporary file at scope exit
|
||||
|
||||
assert(file_handle.size() == 3); //check if file size is 3 bytes
|
||||
assert(file_handle.size() == 3); //check if file size is 3 bytes
|
||||
} //temporary file gets deleted here
|
||||
---
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue