mozilla/rust — Issue #1615: Typo in tutorial
Author: kosta
Created: 2012-01-23 09:17:20+00:00
State: open

In http://doc.rust-lang.org/doc/tutorial.html: "

resource file_desc(fd: int) {
close_file_desc(fd);
}

This defines a type file_desc and a constructor of the same name, which takes an integer."

Shouldn't this define a _destructor_ by the same name?