diff options
| author | athulappadan <a4athulappadan@gmail.com> | 2016-09-11 17:00:09 +0530 |
|---|---|---|
| committer | athulappadan <a4athulappadan@gmail.com> | 2016-09-11 17:00:09 +0530 |
| commit | 49e77dbf25ed6526fb5d37c32e55797fb04522f0 (patch) | |
| tree | c876b159c4833fe3a5f2c91dadb2194d77bfc057 /src/libcore/option.rs | |
| parent | 1fca1ab0e7be574022b2d229f0a6ad9bd580d1bf (diff) | |
| download | rust-49e77dbf25ed6526fb5d37c32e55797fb04522f0.tar.gz rust-49e77dbf25ed6526fb5d37c32e55797fb04522f0.zip | |
Documentation of what does for each type
Diffstat (limited to 'src/libcore/option.rs')
| -rw-r--r-- | src/libcore/option.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/option.rs b/src/libcore/option.rs index cf52849e019..4c449c6562e 100644 --- a/src/libcore/option.rs +++ b/src/libcore/option.rs @@ -698,6 +698,7 @@ fn expect_failed(msg: &str) -> ! { #[stable(feature = "rust1", since = "1.0.0")] impl<T> Default for Option<T> { + /// Creates an instance of None. #[inline] fn default() -> Option<T> { None } } |
