mirror of https://github.com/rwf2/Rocket.git
Remove unused doc comments.
This commit is contained in:
parent
95452af449
commit
0b7d9f4602
|
@ -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)) => {
|
||||
|
|
|
@ -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() }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue