about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorathulappadan <a4athulappadan@gmail.com>2016-09-11 22:58:01 +0530
committerathulappadan <a4athulappadan@gmail.com>2016-09-11 22:58:01 +0530
commit41881e85bd832127f2a6eee5821eaae353dea281 (patch)
tree730da8b3d9bd50eec2c578ae76e9eca931942bb5 /src/libsyntax
parent49e77dbf25ed6526fb5d37c32e55797fb04522f0 (diff)
downloadrust-41881e85bd832127f2a6eee5821eaae353dea281.tar.gz
rust-41881e85bd832127f2a6eee5821eaae353dea281.zip
Documentation for default types modified
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ptr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ptr.rs b/src/libsyntax/ptr.rs
index a65c54ac1e2..58750158931 100644
--- a/src/libsyntax/ptr.rs
+++ b/src/libsyntax/ptr.rs
@@ -154,7 +154,7 @@ impl<T> P<[T]> {
 }
 
 impl<T> Default for P<[T]> {
-    /// Creates a new `P`, with the `Default` value for T.
+    /// Creates an empty `P<[T]>`.
     fn default() -> P<[T]> {
         P::new()
     }