Mercurial > hg
view rust/chg/src/lib.rs @ 47319:e985a36c2aa3
upgrade: Use `improvement` subclasses everywhere, not instances
This changes the source definition of optimizations to match that of formats:
a subclass with a decorator, instead of an instance passed to a function call.
Not having any instance removes the confusion between class attributes and
instance attributes, which were used interchangeably.
Differential Revision: https://phab.mercurial-scm.org/D10768
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Fri, 21 May 2021 17:12:47 +0200 |
parents | a347a329e48d |
children |
line wrap: on
line source
// Copyright 2018 Yuya Nishihara <yuya@tcha.org> // // This software may be used and distributed according to the terms of the // GNU General Public License version 2 or any later version. mod attachio; mod clientext; pub mod locator; pub mod message; pub mod procutil; mod runcommand; mod uihandler; pub use clientext::ChgClient; pub use uihandler::{ChgUiHandler, SystemHandler};