Skip to content

Commit ae9ccc9

Browse files
committed
nit: use Self in Cfg::simplify_with
1 parent bcb06f8 commit ae9ccc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/clean/cfg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ impl Cfg {
224224
/// `Cfg`.
225225
///
226226
/// See `tests::test_simplify_with` for examples.
227-
pub(crate) fn simplify_with(&self, assume: &Cfg) -> Option<Cfg> {
227+
pub(crate) fn simplify_with(&self, assume: &Self) -> Option<Self> {
228228
if self == assume {
229229
return None;
230230
}

0 commit comments

Comments
 (0)