diff --git a/Makefile b/Makefile index 0290ceae..3a5a35b9 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ MAN7_DIR := /usr/share/man/man7 all: build build: + @cargo test @cargo build $(BUILDFLAGS) run: diff --git a/flake.lock b/flake.lock index 3fdf883f..c604231d 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1688221086, - "narHash": "sha256-cdW6qUL71cNWhHCpMPOJjlw0wzSRP0pVlRn2vqX/VVg=", + "lastModified": 1712222121, + "narHash": "sha256-8f3glF4uwsPlDvaKDRgXD9xGe4YoCH4jA8ICxy/NbCo=", "owner": "nixos", "repo": "nixpkgs", - "rev": "cd99c2b3c9f160cd004318e0697f90bbd5960825", + "rev": "23ff7d9dc4f3d553939e7bfe0d2667198f993536", "type": "github" }, "original": { diff --git a/libwayshot/src/lib.rs b/libwayshot/src/lib.rs index 4e8bc98b..b4f95257 100644 --- a/libwayshot/src/lib.rs +++ b/libwayshot/src/lib.rs @@ -66,7 +66,8 @@ pub mod reexport { /// Struct to store wayland connection and globals list. /// # Example usage /// -/// ``` +/// ```ignore +/// use libwayshot::WayshotConnection; /// let wayshot_connection = WayshotConnection::new()?; /// let image_buffer = wayshot_connection.screenshot_all()?; /// ``` diff --git a/libwayshot/src/region.rs b/libwayshot/src/region.rs index 6813ded2..75bf98e8 100644 --- a/libwayshot/src/region.rs +++ b/libwayshot/src/region.rs @@ -30,7 +30,7 @@ pub struct LogicalRegion { /// /// Example: /// -/// ```` +/// ````ignore /// ┌─────────────┐ /// │ │ /// │ ┌──────────┼──────┐