Skip to content

Commit

Permalink
Add doc comment to IsCompatible
Browse files Browse the repository at this point in the history
  • Loading branch information
foresterre committed Nov 9, 2024
1 parent 53a026d commit a43f02a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/compatibility/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ pub use rustup_toolchain_check::{RunCommand, RustupToolchainCheck};
#[cfg(test)]
pub use testing::TestRunner;

/// Implementers of this trait must determine whether a Rust toolchain is _supported_
/// for a Rust project. This is a step in the process of determining the _minimally
/// supported_ Rust version; the MSRV.
pub trait IsCompatible {
fn before(&self, _toolchain: &Toolchain) -> TResult<()> {
Ok(())
Expand Down

0 comments on commit a43f02a

Please sign in to comment.