Remove unused doc comments.

This commit is contained in:
Sergio Benitez 2017-08-02 17:48:00 -07:00
parent 95452af449
commit 0b7d9f4602
2 changed files with 4 additions and 4 deletions

View File

@ -144,9 +144,9 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for RocketLint {
// the receiver in the type table we've constructed. If it's there, we use
// it, if not, we use the call as the receiver.
fn check_expr(&mut self, cx: &LateContext<'a, 'tcx>, expr: &'tcx Expr) {
/// Fetches the top-level `Receiver` instance given that a method call
/// was made to the receiver `rexpr`. Top-level here means "the
/// original". We search the `instance_vars` table to retrieve it.
// Fetches the top-level `Receiver` instance given that a method call
// was made to the receiver `rexpr`. Top-level here means "the
// original". We search the `instance_vars` table to retrieve it.
let instance_for = |lint: &mut RocketLint, rexpr: &Expr| -> Option<Receiver> {
match rexpr.node {
ExprPath(QPath::Resolved(_, ref p)) => {

View File

@ -84,7 +84,7 @@ pub struct Limits {
impl Default for Limits {
fn default() -> Limits {
/// Default limit for forms is 32KiB.
// Default limit for forms is 32KiB.
Limits { forms: 32 * 1024, extra: Vec::new() }
}
}